#BAA238#BAA238
#BAA238 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.126 H 96.2°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA238 |
|---|---|
| RGB | rgb(186, 162, 56) |
| HSL | hsl(49, 54%, 47%) |
| HSV | hsv(49, 70%, 73%) |
| CMYK | cmyk(0%, 12.9%, 69.9%, 27.1%) |
| CIE-LAB | lab(66.95, -3.01, 55.85) |
| CIE-LCH | lch(66.95, 55.93, 93.08°) |
| OKLab | oklab(71.41% -0.0135 0.1249) |
| OKLCH | oklch(71.41% 0.126 96.2) |
| XYZ | xyz(33.8855, 36.5670, 9.0139) |
| Luminance | 0.3656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.30
Ocher
#BF9B0C
ΔE00 4.47
Dark Gold
#B59410
ΔE00 5.00
Muddy Yellow
#BFAC05
ΔE00 5.17
Yellow Brown
#B79400
ΔE00 5.45
Ocre
#C69C04
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA238 #3850BA
analogous
#BA6138 #BAA238 #91BA38
triadic
#BAA238 #38BAA2 #A238BA
tetradic
#BAA238 #38BA61 #3850BA #BA3891
square
#BAA238 #38BA61 #3850BA #BA3891
split-complementary
#BAA238 #3891BA #6138BA
monochromatic
#5C501C #8B792A #BAA238 #CFBB60 #DDCF8F
Accessibility & contrast
On white
2.53
#BAA238 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.31
#BAA238 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA238
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA238 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA238 | 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)
#B29E29
Deuteranopia (green-blind)
#B9A63E
Tritanopia (blue-blind)
#C9968C
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #baa238; /* rgb */ color: rgb(186, 162, 56); /* oklch */ color: oklch(71.4% 0.126 96.2);
Tailwind
colors: {
custom: {
50: '#d2bd75',
500: '#baa238',
950: '#000000',
},
}SCSS
$custom: #baa238; $custom-light: #d2bd75; $custom-dark: #000000;
JSON
{
"hex": "#baa238",
"rgb": {
"r": 186,
"g": 162,
"b": 56
},
"hsl": {
"h": 48.923,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.71411,
"c": 0.12562,
"h": 96.2
},
"luminance": 0.36565
}Semantic roles & 50–950 ramp
primary
#BAA238
secondary
#8692C8
accent
#66DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B