#B4981F#B4981F
#B4981F is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.5% C 0.132 H 94.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #B4981F |
|---|---|
| RGB | rgb(180, 152, 31) |
| HSL | hsl(49, 71%, 41%) |
| HSV | hsv(49, 83%, 71%) |
| CMYK | cmyk(0%, 15.6%, 82.8%, 29.4%) |
| CIE-LAB | lab(63.56, -1.36, 61.37) |
| CIE-LCH | lch(63.56, 61.39, 91.27°) |
| OKLab | oklab(68.55% -0.011 0.132) |
| OKLCH | oklch(68.55% 0.132 94.8) |
| XYZ | xyz(30.2997, 32.2605, 5.9270) |
| Luminance | 0.3226 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 1.39
Dark Gold
#B59410
ΔE00 1.83
Yellow Brown
#B79400
ΔE00 2.43
Baby Shit Brown
#AD900D
ΔE00 2.56
Baby Poo
#AB9004
ΔE00 2.76
Ocher
#BF9B0C
ΔE00 2.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4981F #1F3BB4
analogous
#B44E1F #B4981F #86B41F
triadic
#B4981F #1FB498 #981FB4
tetradic
#B4981F #1FB44E #1F3BB4 #B41F86
square
#B4981F #1FB44E #1F3BB4 #B41F86
split-complementary
#B4981F #1F86B4 #4E1FB4
monochromatic
#4C400D #806C16 #B4981F #DCBD34 #E5CE68
Accessibility & contrast
On white
2.82
#B4981F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#B4981F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4981F
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4981F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4981F | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#B09E28
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #b4981f; /* rgb */ color: rgb(180, 152, 31); /* oklch */ color: oklch(68.5% 0.132 94.8);
Tailwind
colors: {
custom: {
50: '#cfb567',
500: '#b4981f',
950: '#000000',
},
}SCSS
$custom: #b4981f; $custom-light: #cfb567; $custom-dark: #000000;
JSON
{
"hex": "#b4981f",
"rgb": {
"r": 180,
"g": 152,
"b": 31
},
"hsl": {
"h": 48.725,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.68545,
"c": 0.13242,
"h": 94.8
},
"luminance": 0.32259
}Semantic roles & 50–950 ramp
primary
#B4981F
secondary
#6477CB
accent
#5CED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A