#B2AF4D#B2AF4D
#B2AF4D is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.7% C 0.121 H 107.4°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AF4D |
|---|---|
| RGB | rgb(178, 175, 77) |
| HSL | hsl(58, 40%, 50%) |
| HSV | hsv(58, 57%, 70%) |
| CMYK | cmyk(0%, 1.7%, 56.7%, 30.2%) |
| CIE-LAB | lab(69.94, -11.94, 49.63) |
| CIE-LCH | lch(69.94, 51.04, 103.52°) |
| OKLab | oklab(73.67% -0.036 0.115) |
| OKLCH | oklch(73.67% 0.121 107.4) |
| XYZ | xyz(35.0306, 40.6618, 13.0229) |
| Luminance | 0.4066 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.42
Khaki (survey)
#AAA662
ΔE00 5.34
Vomit
#A2A415
ΔE00 5.69
Puke
#A5A502
ΔE00 6.06
Mustard Green
#A8B504
ΔE00 6.62
Booger
#9BB53C
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AF4D #4D50B2
analogous
#B27D4D #B2AF4D #82B24D
triadic
#B2AF4D #4DB2AF #AF4DB2
tetradic
#B2AF4D #4DB27D #4D50B2 #B24D82
square
#B2AF4D #4DB27D #4D50B2 #B24D82
split-complementary
#B2AF4D #4D82B2 #7D4DB2
monochromatic
#5D5B28 #87853B #B2AF4D #C4C278 #D7D5A2
Accessibility & contrast
On white
2.30
#B2AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#B2AF4D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AF4D
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AF4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AF4D | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA943
Deuteranopia (green-blind)
#BEAD52
Tritanopia (blue-blind)
#BEA59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b2af4d; /* rgb */ color: rgb(178, 175, 77); /* oklch */ color: oklch(73.7% 0.121 107.4);
Tailwind
colors: {
custom: {
50: '#cbc682',
500: '#b2af4d',
950: '#000000',
},
}SCSS
$custom: #b2af4d; $custom-light: #cbc682; $custom-dark: #000000;
JSON
{
"hex": "#b2af4d",
"rgb": {
"r": 178,
"g": 175,
"b": 77
},
"hsl": {
"h": 58.218,
"s": 39.608,
"l": 50
},
"oklch": {
"l": 0.73672,
"c": 0.12053,
"h": 107.4
},
"luminance": 0.40661
}Semantic roles & 50–950 ramp
primary
#B2AF4D
secondary
#9798C4
accent
#5CCF58
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C