#B4AF4E#B4AF4E
#B4AF4E is a light, moderate yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.119 H 106.3°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AF4E |
|---|---|
| RGB | rgb(180, 175, 78) |
| HSL | hsl(57, 40%, 51%) |
| HSV | hsv(57, 57%, 71%) |
| CMYK | cmyk(0%, 2.8%, 56.7%, 29.4%) |
| CIE-LAB | lab(70.12, -11.01, 49.41) |
| CIE-LCH | lch(70.12, 50.62, 102.56°) |
| OKLab | oklab(73.86% -0.0334 0.1146) |
| OKLCH | oklch(73.86% 0.119 106.3) |
| XYZ | xyz(35.5286, 40.9144, 13.2320) |
| Luminance | 0.4091 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.21
Khaki (survey)
#AAA662
ΔE00 5.31
Vomit
#A2A415
ΔE00 5.93
Puke
#A5A502
ΔE00 6.24
Mustard Green
#A8B504
ΔE00 6.96
Olive Yellow
#C2B709
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AF4E #4E53B4
analogous
#B47C4E #B4AF4E #86B44E
triadic
#B4AF4E #4EB4AF #AF4EB4
tetradic
#B4AF4E #4EB47C #4E53B4 #B44E86
square
#B4AF4E #4EB47C #4E53B4 #B44E86
split-complementary
#B4AF4E #4E86B4 #7C4EB4
monochromatic
#5F5D28 #8A863B #B4AF4E #C6C279 #D8D6A4
Accessibility & contrast
On white
2.29
#B4AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#B4AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AF4E
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AF4E | 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)
#BCA944
Deuteranopia (green-blind)
#BFAD53
Tritanopia (blue-blind)
#C0A59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b4af4e; /* rgb */ color: rgb(180, 175, 78); /* oklch */ color: oklch(73.9% 0.119 106.3);
Tailwind
colors: {
custom: {
50: '#cdc683',
500: '#b4af4e',
950: '#000000',
},
}SCSS
$custom: #b4af4e; $custom-light: #cdc683; $custom-dark: #000000;
JSON
{
"hex": "#b4af4e",
"rgb": {
"r": 180,
"g": 175,
"b": 78
},
"hsl": {
"h": 57.059,
"s": 40.476,
"l": 50.588
},
"oklch": {
"l": 0.73857,
"c": 0.11941,
"h": 106.3
},
"luminance": 0.40913
}Semantic roles & 50–950 ramp
primary
#B4AF4E
secondary
#989AC6
accent
#5DD057
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C