#B49D1B#B49D1B
#B49D1B is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.137 H 98.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B49D1B |
|---|---|
| RGB | rgb(180, 157, 27) |
| HSL | hsl(51, 74%, 41%) |
| HSV | hsv(51, 85%, 71%) |
| CMYK | cmyk(0%, 12.8%, 85%, 29.4%) |
| CIE-LAB | lab(64.88, -4.16, 63.59) |
| CIE-LCH | lch(64.88, 63.72, 93.75°) |
| OKLab | oklab(69.59% -0.0192 0.136) |
| OKLCH | oklch(69.59% 0.137 98) |
| XYZ | xyz(31.0789, 33.8981, 5.9427) |
| Luminance | 0.3390 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 2.09
Dark Gold
#B59410
ΔE00 3.73
Ocher
#BF9B0C
ΔE00 3.74
Baby Poo
#AB9004
ΔE00 4.08
Yellow Brown
#B79400
ΔE00 4.11
Baby Shit Brown
#AD900D
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B49D1B #1B32B4
analogous
#B4501B #B49D1B #7FB41B
triadic
#B49D1B #1BB49D #9D1BB4
tetradic
#B49D1B #1BB450 #1B32B4 #B41B7F
square
#B49D1B #1BB450 #1B32B4 #B41B7F
split-complementary
#B49D1B #1B7FB4 #501BB4
monochromatic
#4A400B #7F6F13 #B49D1B #DFC52D #E7D362
Accessibility & contrast
On white
2.70
#B49D1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#B49D1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B49D1B
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B49D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B49D1B | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B4A126
Tritanopia (blue-blind)
#C39086
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b49d1b; /* rgb */ color: rgb(180, 157, 27); /* oklch */ color: oklch(69.6% 0.137 98.0);
Tailwind
colors: {
custom: {
50: '#cfb966',
500: '#b49d1b',
950: '#000000',
},
}SCSS
$custom: #b49d1b; $custom-light: #cfb966; $custom-dark: #000000;
JSON
{
"hex": "#b49d1b",
"rgb": {
"r": 180,
"g": 157,
"b": 27
},
"hsl": {
"h": 50.98,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.69588,
"c": 0.13736,
"h": 98
},
"luminance": 0.33896
}Semantic roles & 50–950 ramp
primary
#B49D1B
secondary
#5F6FCC
accent
#53F137
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A