#B79C2F#B79C2F
#B79C2F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.127 H 94.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B79C2F |
|---|---|
| RGB | rgb(183, 156, 47) |
| HSL | hsl(48, 59%, 45%) |
| HSV | hsv(48, 74%, 72%) |
| CMYK | cmyk(0%, 14.8%, 74.3%, 28.2%) |
| CIE-LAB | lab(65.00, -1.56, 57.39) |
| CIE-LCH | lch(65.00, 57.41, 91.56°) |
| OKLab | oklab(69.78% -0.0102 0.1266) |
| OKLCH | oklch(69.78% 0.127 94.6) |
| XYZ | xyz(31.9317, 34.0512, 7.5794) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.85
Dark Gold
#B59410
ΔE00 3.18
Ocher
#BF9B0C
ΔE00 3.32
Yellow Brown
#B79400
ΔE00 3.72
Baby Shit Brown
#AD900D
ΔE00 4.03
Baby Poo
#AB9004
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B79C2F #2F4AB7
analogous
#B7582F #B79C2F #8EB72F
triadic
#B79C2F #2FB79C #9C2FB7
tetradic
#B79C2F #2FB758 #2F4AB7 #B72F8E
square
#B79C2F #2FB758 #2F4AB7 #B72F8E
split-complementary
#B79C2F #2F8EB7 #582FB7
monochromatic
#564916 #867222 #B79C2F #D2B951 #DFCC82
Accessibility & contrast
On white
2.69
#B79C2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B79C2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B79C2F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B79C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B79C2F | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C68F87
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b79c2f; /* rgb */ color: rgb(183, 156, 47); /* oklch */ color: oklch(69.8% 0.127 94.6);
Tailwind
colors: {
custom: {
50: '#d1b86f',
500: '#b79c2f',
950: '#000000',
},
}SCSS
$custom: #b79c2f; $custom-light: #d1b86f; $custom-dark: #000000;
JSON
{
"hex": "#b79c2f",
"rgb": {
"r": 183,
"g": 156,
"b": 47
},
"hsl": {
"h": 48.088,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.69783,
"c": 0.12698,
"h": 94.6
},
"luminance": 0.34049
}Semantic roles & 50–950 ramp
primary
#B79C2F
secondary
#7A89C8
accent
#65E245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B