#BDAF2E#BDAF2E
#BDAF2E is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.4% C 0.142 H 102.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BDAF2E |
|---|---|
| RGB | rgb(189, 175, 46) |
| HSL | hsl(54, 61%, 46%) |
| HSV | hsv(54, 76%, 74%) |
| CMYK | cmyk(0%, 7.4%, 75.7%, 25.9%) |
| CIE-LAB | lab(70.65, -9.02, 63.28) |
| CIE-LCH | lch(70.65, 63.92, 98.11°) |
| OKLab | oklab(74.39% -0.0318 0.1387) |
| OKLCH | oklch(74.39% 0.142 102.9) |
| XYZ | xyz(36.8111, 41.6776, 8.6898) |
| Luminance | 0.4168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.55
Olive Yellow
#C2B709
ΔE00 3.30
Brownish Yellow
#C9B003
ΔE00 3.89
Mustard (survey)
#CEB301
ΔE00 4.67
Puke Yellow
#C2BE0E
ΔE00 5.05
Puke
#A5A502
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDAF2E #2E3CBD
analogous
#BD672E #BDAF2E #83BD2E
triadic
#BDAF2E #2EBDAF #AF2EBD
tetradic
#BDAF2E #2EBD67 #2E3CBD #BD2E83
square
#BDAF2E #2EBD67 #2E3CBD #BD2E83
split-complementary
#BDAF2E #2E83BD #672EBD
monochromatic
#5B5416 #8C8122 #BDAF2E #D5C853 #E1D884
Accessibility & contrast
On white
2.25
#BDAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#BDAF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDAF2E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDAF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDAF2E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#CCA296
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bdaf2e; /* rgb */ color: rgb(189, 175, 46); /* oklch */ color: oklch(74.4% 0.142 102.9);
Tailwind
colors: {
custom: {
50: '#d5c671',
500: '#bdaf2e',
950: '#000000',
},
}SCSS
$custom: #bdaf2e; $custom-light: #d5c671; $custom-dark: #000000;
JSON
{
"hex": "#bdaf2e",
"rgb": {
"r": 189,
"g": 175,
"b": 46
},
"hsl": {
"h": 54.126,
"s": 60.851,
"l": 46.078
},
"oklch": {
"l": 0.74389,
"c": 0.14225,
"h": 102.9
},
"luminance": 0.41676
}Semantic roles & 50–950 ramp
primary
#BDAF2E
secondary
#7C84CA
accent
#54E444
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B