# #bab242 color: Pesto

#bab242 is rgb(186, 178, 66) in RGB and oklch(74.914% 0.13196 105.23) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/bab242

## Formats

| Format | Value |
| --- | --- |
| HEX | #bab242 |
| RGB | rgb(186, 178, 66) |
| HSL | hsl(56, 47.62%, 49.41%) |
| HSB / HSV | hsv(56 64.52% 72.94%) |
| HWB | hwb(56 25.88% 27.06%) |
| CMYK | cmyk(0% 4% 65% 27%) |
| Lab | lab(71.67 -7.06 55.97) |
| LCH | lch(71.67 56.41 97.19) |
| OKLab | oklab(74.914% -0.03466 0.12732) |
| OKLCH | oklch(74.914% 0.13196 105.23) |
| Display P3 | color(display-p3 0.72397 0.69911 0.33223) |
| Rec. 2020 | color(rec2020 0.67354 0.66349 0.28369) |
| Adobe RGB | color(a98-rgb 0.71486 0.69214 0.29953) |
| ProPhoto RGB | color(prophoto-rgb 0.6131 0.63271 0.29014) |
| Linear sRGB | color(srgb-linear 0.49102 0.4452 0.05448) |
| XYZ D65 | color(xyz-d65 0.37152 0.42674 0.11434) |
| XYZ D50 | color(xyz-d50 0.39338 0.43171 0.08896) |
| SwiftUI | Color(red: 0.729, green: 0.698, blue: 0.259) |
| UIKit | UIColor(red: 0.729, green: 0.698, blue: 0.259, alpha: 1) |
| Flutter / Compose | Color(0xFFBAB242) |
| Android XML | #BAB242 |

## Facts

- Closest name: Pesto
- Hue family: Yellow, bright light yellow
- Closest Tailwind class: yellow-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 2.2:1
- Contrast with black: 9.53:1

## Tints

#bab242, #c1ba5a, #c7c26f, #cec982, #d5d195, #dbd9a7, #e2e1b9, #e9e8ca, #f1f0dc, #f8f7ed

## Shades

#bab242, #a19a38, #89832f, #726d25, #5c571c, #464314, #322f0b, #1e1d05, #0d0c01, #020100

## Tones

#bab242, #b9b251, #b7b25f, #b6b16b, #b5b176, #b3b180, #b2b08a, #b1b093, #b0af9c, #afaea5

## Harmonies

- Complementary: #bab242, #a6a1fd
- Split: #bab242, #72b0ff, #cd93e7
- Analogous: #bab242, #dea140, #88c069
- Triadic: #bab242, #2ebeec, #e88ac0
- Tetradic: #bab242, #48c899, #a6a1fd, #e88ac0
- Square: #bab242, #00c7c8, #a6a1fd, #f58992
- Monochromatic: #bab242, #716900, #958c07, #e0d96b, #fffb8d

## Questions about #bab242

### What color is #bab242?

#bab242 is bright light yellow. The closest named color is Pesto. In RGB it is rgb(186, 178, 66), in HSL hsl(56, 47.62%, 49.41%) and in OKLCH oklch(74.914% 0.13196 105.23).

### What colors go well with #bab242?

The complementary color of #bab242 is #a6a1fd. For a calmer combination use the analogous colors #dea140 and #88c069. The triadic partners are #2ebeec and #e88ac0.

### Is white or black text more readable on #bab242?

Black text reads better on #bab242: white gives a contrast ratio of 2.2:1 and black gives 9.53:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #bab242 a warm or cool color?

#bab242 is a neutral color. In OKLCH its hue is 105 degrees, its lightness 74.9% and its chroma 0.132.
