#B4AE2E#B4AE2E
#B4AE2E is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.4% C 0.142 H 106.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE2E |
|---|---|
| RGB | rgb(180, 174, 46) |
| HSL | hsl(57, 59%, 44%) |
| HSV | hsv(57, 74%, 71%) |
| CMYK | cmyk(0%, 3.3%, 74.4%, 29.4%) |
| CIE-LAB | lab(69.59, -12.43, 62.02) |
| CIE-LCH | lch(69.59, 63.25, 101.33°) |
| OKLab | oklab(73.36% -0.0408 0.1363) |
| OKLCH | oklch(73.36% 0.142 106.7) |
| XYZ | xyz(34.4530, 40.1739, 8.5237) |
| Luminance | 0.4017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.65
Vomit
#A2A415
ΔE00 3.99
Olive Yellow
#C2B709
ΔE00 4.15
Muddy Yellow
#BFAC05
ΔE00 4.26
Mustard Green
#A8B504
ΔE00 4.90
Puke Yellow
#C2BE0E
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE2E #2E34B4
analogous
#B46B2E #B4AE2E #77B42E
triadic
#B4AE2E #2EB4AE #AE2EB4
tetradic
#B4AE2E #2EB46B #2E34B4 #B42E77
square
#B4AE2E #2EB46B #2E34B4 #B42E77
split-complementary
#B4AE2E #2E77B4 #6B2EB4
monochromatic
#535015 #837F22 #B4AE2E #D2CC4E #DEDA7E
Accessibility & contrast
On white
2.32
#B4AE2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#B4AE2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE2E
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE2E | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 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)
#BDA713
Deuteranopia (green-blind)
#C0AC38
Tritanopia (blue-blind)
#C1A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae2e; /* rgb */ color: rgb(180, 174, 46); /* oklch */ color: oklch(73.4% 0.142 106.7);
Tailwind
colors: {
custom: {
50: '#cec571',
500: '#b4ae2e',
950: '#000000',
},
}SCSS
$custom: #b4ae2e; $custom-light: #cec571; $custom-dark: #000000;
JSON
{
"hex": "#b4ae2e",
"rgb": {
"r": 180,
"g": 174,
"b": 46
},
"hsl": {
"h": 57.313,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.73361,
"c": 0.14231,
"h": 106.7
},
"luminance": 0.40173
}Semantic roles & 50–950 ramp
primary
#B4AE2E
secondary
#777BC7
accent
#4CE245
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B