#B4AE2B#B4AE2B
#B4AE2B is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.3% C 0.144 H 106.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE2B |
|---|---|
| RGB | rgb(180, 174, 43) |
| HSL | hsl(57, 61%, 44%) |
| HSV | hsv(57, 76%, 71%) |
| CMYK | cmyk(0%, 3.3%, 76.1%, 29.4%) |
| CIE-LAB | lab(69.58, -12.56, 63.01) |
| CIE-LCH | lch(69.58, 64.25, 101.27°) |
| OKLab | oklab(73.34% -0.0415 0.1379) |
| OKLCH | oklch(73.34% 0.144 106.7) |
| XYZ | xyz(34.3959, 40.1511, 8.2231) |
| Luminance | 0.4015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.55
Vomit
#A2A415
ΔE00 3.96
Olive Yellow
#C2B709
ΔE00 3.98
Muddy Yellow
#BFAC05
ΔE00 4.12
Mustard Green
#A8B504
ΔE00 4.81
Puke Yellow
#C2BE0E
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE2B #2B31B4
analogous
#B4692B #B4AE2B #75B42B
triadic
#B4AE2B #2BB4AE #AE2BB4
tetradic
#B4AE2B #2BB469 #2B31B4 #B42B75
square
#B4AE2B #2BB469 #2B31B4 #B42B75
split-complementary
#B4AE2B #2B75B4 #692BB4
monochromatic
#514E13 #837E1F #B4AE2B #D3CD49 #DFDB7A
Accessibility & contrast
On white
2.33
#B4AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#B4AE2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE2B
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE2B | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA70B
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#C1A295
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae2b; /* rgb */ color: rgb(180, 174, 43); /* oklch */ color: oklch(73.3% 0.144 106.7);
Tailwind
colors: {
custom: {
50: '#cec56f',
500: '#b4ae2b',
950: '#000000',
},
}SCSS
$custom: #b4ae2b; $custom-light: #cec56f; $custom-dark: #000000;
JSON
{
"hex": "#b4ae2b",
"rgb": {
"r": 180,
"g": 174,
"b": 43
},
"hsl": {
"h": 57.372,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.73343,
"c": 0.14397,
"h": 106.7
},
"luminance": 0.4015
}Semantic roles & 50–950 ramp
primary
#B4AE2B
secondary
#7377C7
accent
#4AE543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B