#B1AF4E#B1AF4E
#B1AF4E is a light, moderate yellow. Relative luminance 0.406; OKLCH L 73.6% C 0.120 H 107.9°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B1AF4E |
|---|---|
| RGB | rgb(177, 175, 78) |
| HSL | hsl(59, 39%, 50%) |
| HSV | hsv(59, 56%, 69%) |
| CMYK | cmyk(0%, 1.1%, 55.9%, 30.6%) |
| CIE-LAB | lab(69.87, -12.28, 49.06) |
| CIE-LCH | lch(69.87, 50.57, 104.05°) |
| OKLab | oklab(73.6% -0.0368 0.1139) |
| OKLCH | oklch(73.6% 0.12 107.9) |
| XYZ | xyz(34.8376, 40.5581, 13.1996) |
| Luminance | 0.4056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.38
Khaki (survey)
#AAA662
ΔE00 5.19
Vomit
#A2A415
ΔE00 5.76
Puke
#A5A502
ΔE00 6.18
Mustard Green
#A8B504
ΔE00 6.65
Booger
#9BB53C
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1AF4E #4E50B1
analogous
#B17E4E #B1AF4E #81B14E
triadic
#B1AF4E #4EB1AF #AF4EB1
tetradic
#B1AF4E #4EB17E #4E50B1 #B14E81
square
#B1AF4E #4EB17E #4E50B1 #B14E81
split-complementary
#B1AF4E #4E81B1 #7E4EB1
monochromatic
#5C5B29 #87853B #B1AF4E #C4C278 #D6D5A3
Accessibility & contrast
On white
2.30
#B1AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#B1AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1AF4E
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1AF4E | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BEAC53
Tritanopia (blue-blind)
#BCA59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b1af4e; /* rgb */ color: rgb(177, 175, 78); /* oklch */ color: oklch(73.6% 0.120 107.9);
Tailwind
colors: {
custom: {
50: '#cbc683',
500: '#b1af4e',
950: '#000000',
},
}SCSS
$custom: #b1af4e; $custom-light: #cbc683; $custom-dark: #000000;
JSON
{
"hex": "#b1af4e",
"rgb": {
"r": 177,
"g": 175,
"b": 78
},
"hsl": {
"h": 58.788,
"s": 38.824,
"l": 50
},
"oklch": {
"l": 0.73597,
"c": 0.11975,
"h": 107.9
},
"luminance": 0.40557
}Semantic roles & 50–950 ramp
primary
#B1AF4E
secondary
#9798C4
accent
#5BCF59
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C