#BDAF3F#BDAF3F
#BDAF3F is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.131 H 102.1°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #BDAF3F |
|---|---|
| RGB | rgb(189, 175, 63) |
| HSL | hsl(53, 50%, 49%) |
| HSV | hsv(53, 67%, 74%) |
| CMYK | cmyk(0%, 7.4%, 66.7%, 25.9%) |
| CIE-LAB | lab(70.76, -8.18, 56.96) |
| CIE-LCH | lch(70.76, 57.54, 98.17°) |
| OKLab | oklab(74.51% -0.0276 0.1283) |
| OKLCH | oklch(74.51% 0.131 102.1) |
| XYZ | xyz(37.2150, 41.8392, 10.8171) |
| Luminance | 0.4184 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.04
Olive Yellow
#C2B709
ΔE00 4.72
Brownish Yellow
#C9B003
ΔE00 5.09
Mustard (survey)
#CEB301
ΔE00 5.77
Puke
#A5A502
ΔE00 5.95
Puke Yellow
#C2BE0E
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BDAF3F #3F4DBD
analogous
#BD703F #BDAF3F #8CBD3F
triadic
#BDAF3F #3FBDAF #AF3FBD
tetradic
#BDAF3F #3FBD70 #3F4DBD #BD3F8C
square
#BDAF3F #3FBD70 #3F4DBD #BD3F8C
split-complementary
#BDAF3F #3F8CBD #703FBD
monochromatic
#615A20 #8F8530 #BDAF3F #CEC36B #DDD699
Accessibility & contrast
On white
2.24
#BDAF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.37
#BDAF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BDAF3F
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BDAF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BDAF3F | 1.00 | 2.24 | 9.37 | 9.37 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA30
Deuteranopia (green-blind)
#C3B046
Tritanopia (blue-blind)
#CBA398
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #bdaf3f; /* rgb */ color: rgb(189, 175, 63); /* oklch */ color: oklch(74.5% 0.131 102.1);
Tailwind
colors: {
custom: {
50: '#d4c67a',
500: '#bdaf3f',
950: '#000000',
},
}SCSS
$custom: #bdaf3f; $custom-light: #d4c67a; $custom-dark: #000000;
JSON
{
"hex": "#bdaf3f",
"rgb": {
"r": 189,
"g": 175,
"b": 63
},
"hsl": {
"h": 53.333,
"s": 50,
"l": 49.412
},
"oklch": {
"l": 0.74513,
"c": 0.13125,
"h": 102.1
},
"luminance": 0.41838
}Semantic roles & 50–950 ramp
primary
#BDAF3F
secondary
#8F95C9
accent
#5EDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C