#B49F1F#B49F1F
#B49F1F is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.137 H 99.1°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B49F1F |
|---|---|
| RGB | rgb(180, 159, 31) |
| HSL | hsl(52, 71%, 41%) |
| HSV | hsv(52, 83%, 71%) |
| CMYK | cmyk(0%, 11.7%, 82.8%, 29.4%) |
| CIE-LAB | lab(65.44, -5.12, 62.98) |
| CIE-LCH | lch(65.44, 63.19, 94.64°) |
| OKLab | oklab(70.03% -0.0216 0.1355) |
| OKLCH | oklch(70.03% 0.137 99.1) |
| XYZ | xyz(31.4695, 34.6001, 6.3170) |
| Luminance | 0.3460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.85
Muddy Yellow
#BFAC05
ΔE00 4.28
Ocher
#BF9B0C
ΔE00 4.34
Dark Gold
#B59410
ΔE00 4.49
Baby Poo
#AB9004
ΔE00 4.76
Yellow Brown
#B79400
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B49F1F #1F34B4
analogous
#B4551F #B49F1F #7FB41F
triadic
#B49F1F #1FB49F #9F1FB4
tetradic
#B49F1F #1FB455 #1F34B4 #B41F7F
square
#B49F1F #1FB455 #1F34B4 #B41F7F
split-complementary
#B49F1F #1F7FB4 #551FB4
monochromatic
#4C430D #807116 #B49F1F #DCC434 #E5D368
Accessibility & contrast
On white
2.65
#B49F1F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#B49F1F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B49F1F
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B49F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B49F1F | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A22A
Tritanopia (blue-blind)
#C39288
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b49f1f; /* rgb */ color: rgb(180, 159, 31); /* oklch */ color: oklch(70.0% 0.137 99.1);
Tailwind
colors: {
custom: {
50: '#cfbb68',
500: '#b49f1f',
950: '#000000',
},
}SCSS
$custom: #b49f1f; $custom-light: #cfbb68; $custom-dark: #000000;
JSON
{
"hex": "#b49f1f",
"rgb": {
"r": 180,
"g": 159,
"b": 31
},
"hsl": {
"h": 51.544,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.70032,
"c": 0.13718,
"h": 99.1
},
"luminance": 0.34599
}Semantic roles & 50–950 ramp
primary
#B49F1F
secondary
#6473CB
accent
#54ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A