#B5AE34#B5AE34
#B5AE34 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.139 H 106.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE34 |
|---|---|
| RGB | rgb(181, 174, 52) |
| HSL | hsl(57, 55%, 46%) |
| HSV | hsv(57, 71%, 71%) |
| CMYK | cmyk(0%, 3.9%, 71.3%, 29%) |
| CIE-LAB | lab(69.71, -11.72, 60.02) |
| CIE-LCH | lch(69.71, 61.15, 101.05°) |
| OKLab | oklab(73.49% -0.0383 0.1332) |
| OKLCH | oklch(73.49% 0.139 106.1) |
| XYZ | xyz(34.8133, 40.3451, 9.2017) |
| Luminance | 0.4034 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 4.05
Vomit
#A2A415
ΔE00 4.30
Muddy Yellow
#BFAC05
ΔE00 4.39
Olive Yellow
#C2B709
ΔE00 4.42
Mustard Green
#A8B504
ΔE00 5.34
Puke Yellow
#C2BE0E
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE34 #343BB5
analogous
#B56D34 #B5AE34 #7BB534
triadic
#B5AE34 #34B5AE #AE34B5
tetradic
#B5AE34 #34B56D #343BB5 #B5347B
square
#B5AE34 #34B56D #343BB5 #B5347B
split-complementary
#B5AE34 #347BB5 #6D34B5
monochromatic
#565319 #858026 #B5AE34 #CFC857 #DCD887
Accessibility & contrast
On white
2.32
#B5AE34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#B5AE34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE34
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE34 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA81F
Deuteranopia (green-blind)
#C0AD3D
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae34; /* rgb */ color: rgb(181, 174, 52); /* oklch */ color: oklch(73.5% 0.139 106.1);
Tailwind
colors: {
custom: {
50: '#cfc574',
500: '#b5ae34',
950: '#000000',
},
}SCSS
$custom: #b5ae34; $custom-light: #cfc574; $custom-dark: #000000;
JSON
{
"hex": "#b5ae34",
"rgb": {
"r": 181,
"g": 174,
"b": 52
},
"hsl": {
"h": 56.744,
"s": 55.365,
"l": 45.686
},
"oklch": {
"l": 0.7349,
"c": 0.13855,
"h": 106.1
},
"luminance": 0.40344
}Semantic roles & 50–950 ramp
primary
#B5AE34
secondary
#7F82C6
accent
#51DF49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141209
muted
#83817B