#B3AF4E#B3AF4E
#B3AF4E is a light, moderate yellow. Relative luminance 0.408; OKLCH L 73.8% C 0.120 H 106.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AF4E |
|---|---|
| RGB | rgb(179, 175, 78) |
| HSL | hsl(58, 40%, 50%) |
| HSV | hsv(58, 56%, 70%) |
| CMYK | cmyk(0%, 2.2%, 56.4%, 29.8%) |
| CIE-LAB | lab(70.03, -11.44, 49.29) |
| CIE-LCH | lch(70.03, 50.60, 103.06°) |
| OKLab | oklab(73.77% -0.0346 0.1144) |
| OKLCH | oklch(73.77% 0.12 106.8) |
| XYZ | xyz(35.2966, 40.7948, 13.2211) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.25
Khaki (survey)
#AAA662
ΔE00 5.26
Vomit
#A2A415
ΔE00 5.86
Puke
#A5A502
ΔE00 6.20
Mustard Green
#A8B504
ΔE00 6.85
Olive Yellow
#C2B709
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AF4E #4E52B3
analogous
#B37C4E #B3AF4E #84B34E
triadic
#B3AF4E #4EB3AF #AF4EB3
tetradic
#B3AF4E #4EB37C #4E52B3 #B34E84
square
#B3AF4E #4EB37C #4E52B3 #B34E84
split-complementary
#B3AF4E #4E84B3 #7C4EB3
monochromatic
#5E5C28 #89863B #B3AF4E #C5C279 #D8D6A4
Accessibility & contrast
On white
2.29
#B3AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#B3AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AF4E
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AF4E | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA944
Deuteranopia (green-blind)
#BEAD53
Tritanopia (blue-blind)
#BFA59A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #b3af4e; /* rgb */ color: rgb(179, 175, 78); /* oklch */ color: oklch(73.8% 0.120 106.8);
Tailwind
colors: {
custom: {
50: '#ccc683',
500: '#b3af4e',
950: '#000000',
},
}SCSS
$custom: #b3af4e; $custom-light: #ccc683; $custom-dark: #000000;
JSON
{
"hex": "#b3af4e",
"rgb": {
"r": 179,
"g": 175,
"b": 78
},
"hsl": {
"h": 57.624,
"s": 39.921,
"l": 50.392
},
"oklch": {
"l": 0.7377,
"c": 0.11951,
"h": 106.8
},
"luminance": 0.40794
}Semantic roles & 50–950 ramp
primary
#B3AF4E
secondary
#989AC5
accent
#5DD058
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C