#B4AE1B#B4AE1B
#B4AE1B is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.151 H 107.0°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B4AE1B |
|---|---|
| RGB | rgb(180, 174, 27) |
| HSL | hsl(58, 74%, 41%) |
| HSV | hsv(58, 85%, 71%) |
| CMYK | cmyk(0%, 3.3%, 85%, 29.4%) |
| CIE-LAB | lab(69.51, -13.09, 67.43) |
| CIE-LCH | lch(69.51, 68.69, 100.99°) |
| OKLab | oklab(73.27% -0.0442 0.1444) |
| OKLCH | oklch(73.27% 0.151 107) |
| XYZ | xyz(34.1578, 40.0558, 6.9690) |
| Luminance | 0.4006 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.32
Olive Yellow
#C2B709
ΔE00 3.36
Muddy Yellow
#BFAC05
ΔE00 3.61
Vomit
#A2A415
ΔE00 4.01
Puke Yellow
#C2BE0E
ΔE00 4.54
Mustard Green
#A8B504
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4AE1B #1B21B4
analogous
#B4611B #B4AE1B #6DB41B
triadic
#B4AE1B #1BB4AE #AE1BB4
tetradic
#B4AE1B #1BB461 #1B21B4 #B41B6D
square
#B4AE1B #1BB461 #1B21B4 #B41B6D
split-complementary
#B4AE1B #1B6DB4 #611BB4
monochromatic
#4A470B #7F7B13 #B4AE1B #DFD82D #E7E262
Accessibility & contrast
On white
2.33
#B4AE1B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.01
#B4AE1B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4AE1B
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4AE1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4AE1B | 1.00 | 2.33 | 9.01 | 9.01 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#C2A294
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b4ae1b; /* rgb */ color: rgb(180, 174, 27); /* oklch */ color: oklch(73.3% 0.151 107.0);
Tailwind
colors: {
custom: {
50: '#cfc569',
500: '#b4ae1b',
950: '#000000',
},
}SCSS
$custom: #b4ae1b; $custom-light: #cfc569; $custom-dark: #000000;
JSON
{
"hex": "#b4ae1b",
"rgb": {
"r": 180,
"g": 174,
"b": 27
},
"hsl": {
"h": 57.647,
"s": 73.913,
"l": 40.588
},
"oklch": {
"l": 0.73267,
"c": 0.15105,
"h": 107
},
"luminance": 0.40055
}Semantic roles & 50–950 ramp
primary
#B4AE1B
secondary
#5F63CC
accent
#3FF137
background
#FDFCF6
surface
#FAF8EC
border
#D3D1C7
text
#141207
muted
#83817A