#B4AF4D#B4AF4D
#B4AF4D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.120 H 106.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AF4D |
|---|---|
| RGB | rgb(180, 175, 77) |
| HSL | hsl(57, 41%, 50%) |
| HSV | hsv(57, 57%, 71%) |
| CMYK | cmyk(0%, 2.8%, 57.2%, 29.4%) |
| CIE-LAB | lab(70.11, -11.09, 49.86) |
| CIE-LCH | lch(70.11, 51.08, 102.54°) |
| OKLab | oklab(73.85% -0.0337 0.1155) |
| OKLCH | oklch(73.85% 0.12 106.3) |
| XYZ | xyz(35.4930, 40.9002, 13.0446) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.33
Khaki (survey)
#AAA662
ΔE00 5.43
Vomit
#A2A415
ΔE00 5.83
Puke
#A5A502
ΔE00 6.12
Mustard Green
#A8B504
ΔE00 6.85
Olive Yellow
#C2B709
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AF4D #4D52B4
analogous
#B47B4D #B4AF4D #86B44D
triadic
#B4AF4D #4DB4AF #AF4DB4
tetradic
#B4AF4D #4DB47B #4D52B4 #B44D86
square
#B4AF4D #4DB47B #4D52B4 #B44D86
split-complementary
#B4AF4D #4D86B4 #7B4DB4
monochromatic
#5F5C28 #8A863A #B4AF4D #C6C278 #D8D6A3
Accessibility & contrast
On white
2.29
#B4AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#B4AF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AF4D
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AF4D | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA943
Deuteranopia (green-blind)
#BFAD52
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b4af4d; /* rgb */ color: rgb(180, 175, 77); /* oklch */ color: oklch(73.8% 0.120 106.3);
Tailwind
colors: {
custom: {
50: '#cdc682',
500: '#b4af4d',
950: '#000000',
},
}SCSS
$custom: #b4af4d; $custom-light: #cdc682; $custom-dark: #000000;
JSON
{
"hex": "#b4af4d",
"rgb": {
"r": 180,
"g": 175,
"b": 77
},
"hsl": {
"h": 57.087,
"s": 40.711,
"l": 50.392
},
"oklch": {
"l": 0.73846,
"c": 0.12031,
"h": 106.3
},
"luminance": 0.40899
}Semantic roles & 50–950 ramp
primary
#B4AF4D
secondary
#979AC5
accent
#5DD157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C