#BAA138#BAA138
#BAA138 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.2% C 0.125 H 95.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #BAA138 |
|---|---|
| RGB | rgb(186, 161, 56) |
| HSL | hsl(48, 54%, 47%) |
| HSV | hsv(48, 70%, 73%) |
| CMYK | cmyk(0%, 13.4%, 69.9%, 27.1%) |
| CIE-LAB | lab(66.68, -2.48, 55.58) |
| CIE-LCH | lch(66.68, 55.64, 92.55°) |
| OKLab | oklab(71.2% -0.012 0.1243) |
| OKLCH | oklch(71.2% 0.125 95.5) |
| XYZ | xyz(33.7100, 36.2161, 8.9554) |
| Luminance | 0.3621 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 4.15
Ocher
#BF9B0C
ΔE00 4.23
Dark Gold
#B59410
ΔE00 4.70
Yellow Brown
#B79400
ΔE00 5.17
Muddy Yellow
#BFAC05
ΔE00 5.48
Ocre
#C69C04
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAA138 #3851BA
analogous
#BA6038 #BAA138 #92BA38
triadic
#BAA138 #38BAA1 #A138BA
tetradic
#BAA138 #38BA60 #3851BA #BA3892
square
#BAA138 #38BA60 #3851BA #BA3892
split-complementary
#BAA138 #3892BA #6038BA
monochromatic
#5C501C #8B782A #BAA138 #CFBA60 #DDCE8F
Accessibility & contrast
On white
2.55
#BAA138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#BAA138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAA138
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAA138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAA138 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19E29
Deuteranopia (green-blind)
#B8A63E
Tritanopia (blue-blind)
#C9958C
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #baa138; /* rgb */ color: rgb(186, 161, 56); /* oklch */ color: oklch(71.2% 0.125 95.5);
Tailwind
colors: {
custom: {
50: '#d2bc75',
500: '#baa138',
950: '#000000',
},
}SCSS
$custom: #baa138; $custom-light: #d2bc75; $custom-dark: #000000;
JSON
{
"hex": "#baa138",
"rgb": {
"r": 186,
"g": 161,
"b": 56
},
"hsl": {
"h": 48.462,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.71201,
"c": 0.12489,
"h": 95.5
},
"luminance": 0.36214
}Semantic roles & 50–950 ramp
primary
#BAA138
secondary
#8693C8
accent
#67DD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B