#B2AF4E#B2AF4E
#B2AF4E is a light, moderate yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.120 H 107.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AF4E |
|---|---|
| RGB | rgb(178, 175, 78) |
| HSL | hsl(58, 39%, 50%) |
| HSV | hsv(58, 56%, 70%) |
| CMYK | cmyk(0%, 1.7%, 56.2%, 30.2%) |
| CIE-LAB | lab(69.95, -11.86, 49.18) |
| CIE-LCH | lch(69.95, 50.59, 103.56°) |
| OKLab | oklab(73.68% -0.0357 0.1142) |
| OKLCH | oklch(73.68% 0.12 107.4) |
| XYZ | xyz(35.0662, 40.6760, 13.2103) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.31
Khaki (survey)
#AAA662
ΔE00 5.22
Vomit
#A2A415
ΔE00 5.80
Puke
#A5A502
ΔE00 6.18
Mustard Green
#A8B504
ΔE00 6.74
Booger
#9BB53C
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AF4E #4E51B2
analogous
#B27D4E #B2AF4E #83B24E
triadic
#B2AF4E #4EB2AF #AF4EB2
tetradic
#B2AF4E #4EB27D #4E51B2 #B24E83
square
#B2AF4E #4EB27D #4E51B2 #B24E83
split-complementary
#B2AF4E #4E83B2 #7D4EB2
monochromatic
#5D5C29 #88853B #B2AF4E #C5C279 #D7D6A3
Accessibility & contrast
On white
2.30
#B2AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#B2AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AF4E
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AF4E | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BEAD53
Tritanopia (blue-blind)
#BEA59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b2af4e; /* rgb */ color: rgb(178, 175, 78); /* oklch */ color: oklch(73.7% 0.120 107.4);
Tailwind
colors: {
custom: {
50: '#cbc683',
500: '#b2af4e',
950: '#000000',
},
}SCSS
$custom: #b2af4e; $custom-light: #cbc683; $custom-dark: #000000;
JSON
{
"hex": "#b2af4e",
"rgb": {
"r": 178,
"g": 175,
"b": 78
},
"hsl": {
"h": 58.2,
"s": 39.37,
"l": 50.196
},
"oklch": {
"l": 0.73683,
"c": 0.11962,
"h": 107.4
},
"luminance": 0.40675
}Semantic roles & 50–950 ramp
primary
#B2AF4E
secondary
#9899C4
accent
#5CCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C