#BAA239#BAA239
#BAA239 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.125 H 96.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA239 |
|---|---|
| RGB | rgb(186, 162, 57) |
| HSL | hsl(49, 53%, 48%) |
| HSV | hsv(49, 69%, 73%) |
| CMYK | cmyk(0%, 12.9%, 69.4%, 27.1%) |
| CIE-LAB | lab(66.96, -2.96, 55.45) |
| CIE-LCH | lch(66.96, 55.53, 93.05°) |
| OKLab | oklab(71.42% -0.0132 0.1242) |
| OKLCH | oklch(71.42% 0.125 96.1) |
| XYZ | xyz(33.9102, 36.5769, 9.1440) |
| Luminance | 0.3658 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.37
Ocher
#BF9B0C
ΔE00 4.53
Dark Gold
#B59410
ΔE00 5.04
Muddy Yellow
#BFAC05
ΔE00 5.26
Yellow Brown
#B79400
ΔE00 5.50
Ocre
#C69C04
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA239 #3951BA
analogous
#BA6139 #BAA239 #92BA39
triadic
#BAA239 #39BAA2 #A239BA
tetradic
#BAA239 #39BA61 #3951BA #BA3992
square
#BAA239 #39BA61 #3951BA #BA3992
split-complementary
#BAA239 #3992BA #6139BA
monochromatic
#5C501C #8B792B #BAA239 #CFBA61 #DDCF90
Accessibility & contrast
On white
2.53
#BAA239 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#BAA239 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA239
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA239 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA239 | 1.00 | 2.53 | 8.32 | 8.32 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29F2B
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa239; /* rgb */ color: rgb(186, 162, 57); /* oklch */ color: oklch(71.4% 0.125 96.1);
Tailwind
colors: {
custom: {
50: '#d2bd75',
500: '#baa239',
950: '#000000',
},
}SCSS
$custom: #baa239; $custom-light: #d2bd75; $custom-dark: #000000;
JSON
{
"hex": "#baa239",
"rgb": {
"r": 186,
"g": 162,
"b": 57
},
"hsl": {
"h": 48.837,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.7142,
"c": 0.12491,
"h": 96.1
},
"luminance": 0.36575
}Semantic roles & 50–950 ramp
primary
#BAA239
secondary
#8793C8
accent
#66DC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B