#BAA237#BAA237
#BAA237 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.126 H 96.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA237 |
|---|---|
| RGB | rgb(186, 162, 55) |
| HSL | hsl(49, 54%, 47%) |
| HSV | hsv(49, 70%, 73%) |
| CMYK | cmyk(0%, 12.9%, 70.4%, 27.1%) |
| CIE-LAB | lab(66.94, -3.06, 56.25) |
| CIE-LCH | lch(66.94, 56.34, 93.12°) |
| OKLab | oklab(71.4% -0.0138 0.1256) |
| OKLCH | oklch(71.4% 0.126 96.3) |
| XYZ | xyz(33.8613, 36.5574, 8.8864) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.23
Ocher
#BF9B0C
ΔE00 4.41
Dark Gold
#B59410
ΔE00 4.96
Muddy Yellow
#BFAC05
ΔE00 5.07
Yellow Brown
#B79400
ΔE00 5.40
Ocre
#C69C04
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA237 #374FBA
analogous
#BA6137 #BAA237 #90BA37
triadic
#BAA237 #37BAA2 #A237BA
tetradic
#BAA237 #37BA61 #374FBA #BA3790
square
#BAA237 #37BA61 #374FBA #BA3790
split-complementary
#BAA237 #3790BA #6137BA
monochromatic
#5C501B #8B7929 #BAA237 #D0BB5F #DECF8E
Accessibility & contrast
On white
2.53
#BAA237 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#BAA237 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA237
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA237 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA237 | 1.00 | 2.53 | 8.31 | 8.31 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E28
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa237; /* rgb */ color: rgb(186, 162, 55); /* oklch */ color: oklch(71.4% 0.126 96.3);
Tailwind
colors: {
custom: {
50: '#d2bd74',
500: '#baa237',
950: '#000000',
},
}SCSS
$custom: #baa237; $custom-light: #d2bd74; $custom-dark: #000000;
JSON
{
"hex": "#baa237",
"rgb": {
"r": 186,
"g": 162,
"b": 55
},
"hsl": {
"h": 49.008,
"s": 54.357,
"l": 47.255
},
"oklch": {
"l": 0.71403,
"c": 0.12631,
"h": 96.3
},
"luminance": 0.36556
}Semantic roles & 50–950 ramp
primary
#BAA237
secondary
#8591C8
accent
#65DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B