#B4AE3C#B4AE3C
#B4AE3C is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.133 H 106.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE3C |
|---|---|
| RGB | rgb(180, 174, 60) |
| HSL | hsl(57, 50%, 47%) |
| HSV | hsv(57, 67%, 71%) |
| CMYK | cmyk(0%, 3.3%, 66.7%, 29.4%) |
| CIE-LAB | lab(69.68, -11.72, 56.84) |
| CIE-LCH | lch(69.68, 58.03, 101.65°) |
| OKLab | oklab(73.46% -0.0374 0.1278) |
| OKLCH | oklch(73.46% 0.133 106.3) |
| XYZ | xyz(34.7753, 40.3028, 10.2215) |
| Luminance | 0.4030 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.45
Vomit
#A2A415
ΔE00 4.47
Muddy Yellow
#BFAC05
ΔE00 5.20
Olive Yellow
#C2B709
ΔE00 5.21
Mustard Green
#A8B504
ΔE00 5.59
Puke Yellow
#C2BE0E
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE3C #3C42B4
analogous
#B4723C #B4AE3C #7EB43C
triadic
#B4AE3C #3CB4AE #AE3CB4
tetradic
#B4AE3C #3CB472 #3C42B4 #B43C7E
square
#B4AE3C #3CB472 #3C42B4 #B43C7E
split-complementary
#B4AE3C #3C7EB4 #723CB4
monochromatic
#58551D #86822D #B4AE3C #CBC662 #DAD690
Accessibility & contrast
On white
2.32
#B4AE3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#B4AE3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE3C
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE3C | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA82C
Deuteranopia (green-blind)
#BFAC43
Tritanopia (blue-blind)
#C1A397
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae3c; /* rgb */ color: rgb(180, 174, 60); /* oklch */ color: oklch(73.5% 0.133 106.3);
Tailwind
colors: {
custom: {
50: '#cec578',
500: '#b4ae3c',
950: '#000000',
},
}SCSS
$custom: #b4ae3c; $custom-light: #cec578; $custom-dark: #000000;
JSON
{
"hex": "#b4ae3c",
"rgb": {
"r": 180,
"g": 174,
"b": 60
},
"hsl": {
"h": 57,
"s": 50,
"l": 47.059
},
"oklch": {
"l": 0.73463,
"c": 0.13321,
"h": 106.3
},
"luminance": 0.40302
}Semantic roles & 50–950 ramp
primary
#B4AE3C
secondary
#878AC5
accent
#55DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141209
muted
#83817B