#B2AD4F#B2AD4F
#B2AD4F is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.3% C 0.117 H 106.1°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AD4F |
|---|---|
| RGB | rgb(178, 173, 79) |
| HSL | hsl(57, 39%, 50%) |
| HSV | hsv(57, 56%, 70%) |
| CMYK | cmyk(0%, 2.8%, 55.6%, 30.2%) |
| CIE-LAB | lab(69.41, -10.74, 48.10) |
| CIE-LCH | lch(69.41, 49.28, 102.59°) |
| OKLab | oklab(73.26% -0.0324 0.112) |
| OKLCH | oklch(73.26% 0.117 106.1) |
| XYZ | xyz(34.7160, 39.9177, 13.2718) |
| Luminance | 0.3992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.25
Khaki (survey)
#AAA662
ΔE00 4.71
Vomit
#A2A415
ΔE00 5.91
Puke
#A5A502
ΔE00 6.30
Mustard Green
#A8B504
ΔE00 7.36
Muddy Yellow
#BFAC05
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AD4F #4F54B2
analogous
#B27C4F #B2AD4F #85B24F
triadic
#B2AD4F #4FB2AD #AD4FB2
tetradic
#B2AD4F #4FB27C #4F54B2 #B24F85
square
#B2AD4F #4FB27C #4F54B2 #B24F85
split-complementary
#B2AD4F #4F85B2 #7C4FB2
monochromatic
#5E5B29 #88843C #B2AD4F #C5C17A #D7D5A4
Accessibility & contrast
On white
2.34
#B2AD4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#B2AD4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AD4F
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AD4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AD4F | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BCAB54
Tritanopia (blue-blind)
#BEA398
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #b2ad4f; /* rgb */ color: rgb(178, 173, 79); /* oklch */ color: oklch(73.3% 0.117 106.1);
Tailwind
colors: {
custom: {
50: '#cbc583',
500: '#b2ad4f',
950: '#000000',
},
}SCSS
$custom: #b2ad4f; $custom-light: #cbc583; $custom-dark: #000000;
JSON
{
"hex": "#b2ad4f",
"rgb": {
"r": 178,
"g": 173,
"b": 79
},
"hsl": {
"h": 56.97,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.73258,
"c": 0.11657,
"h": 106.1
},
"luminance": 0.39917
}Semantic roles & 50–950 ramp
primary
#B2AD4F
secondary
#989BC4
accent
#5FCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14120B
muted
#82817C