#B4A12E#B4A12E
#B4A12E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.131 H 99.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B4A12E |
|---|---|
| RGB | rgb(180, 161, 46) |
| HSL | hsl(51, 59%, 44%) |
| HSV | hsv(51, 74%, 71%) |
| CMYK | cmyk(0%, 10.6%, 74.4%, 29.4%) |
| CIE-LAB | lab(66.05, -5.61, 58.67) |
| CIE-LCH | lch(66.05, 58.94, 95.47°) |
| OKLab | oklab(70.55% -0.0216 0.1292) |
| OKLCH | oklch(70.55% 0.131 99.5) |
| XYZ | xyz(32.0620, 35.3918, 7.7267) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.53
Ocher
#BF9B0C
ΔE00 5.20
Dark Gold
#B59410
ΔE00 5.33
Baby Poo
#AB9004
ΔE00 5.60
Puke
#A5A502
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4A12E #2E41B4
analogous
#B45E2E #B4A12E #84B42E
triadic
#B4A12E #2EB4A1 #A12EB4
tetradic
#B4A12E #2EB45E #2E41B4 #B42E84
square
#B4A12E #2EB45E #2E41B4 #B42E84
split-complementary
#B4A12E #2E84B4 #5E2EB4
monochromatic
#534A15 #837522 #B4A12E #D2BF4E #DED17E
Accessibility & contrast
On white
2.60
#B4A12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#B4A12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4A12E
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4A12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4A12E | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B6A436
Tritanopia (blue-blind)
#C2958B
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b4a12e; /* rgb */ color: rgb(180, 161, 46); /* oklch */ color: oklch(70.5% 0.131 99.5);
Tailwind
colors: {
custom: {
50: '#cebc6f',
500: '#b4a12e',
950: '#000000',
},
}SCSS
$custom: #b4a12e; $custom-light: #cebc6f; $custom-dark: #000000;
JSON
{
"hex": "#b4a12e",
"rgb": {
"r": 180,
"g": 161,
"b": 46
},
"hsl": {
"h": 51.493,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.70546,
"c": 0.13101,
"h": 99.5
},
"luminance": 0.3539
}Semantic roles & 50–950 ramp
primary
#B4A12E
secondary
#7782C7
accent
#5CE245
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B