#B5AE30#B5AE30
#B5AE30 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.5% C 0.141 H 106.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B5AE30 |
|---|---|
| RGB | rgb(181, 174, 48) |
| HSL | hsl(57, 58%, 45%) |
| HSV | hsv(57, 73%, 71%) |
| CMYK | cmyk(0%, 3.9%, 73.5%, 29%) |
| CIE-LAB | lab(69.69, -11.91, 61.44) |
| CIE-LCH | lch(69.69, 62.59, 100.97°) |
| OKLab | oklab(73.46% -0.0392 0.1354) |
| OKLCH | oklch(73.46% 0.141 106.2) |
| XYZ | xyz(34.7270, 40.3105, 8.7472) |
| Luminance | 0.4031 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.87
Muddy Yellow
#BFAC05
ΔE00 4.14
Olive Yellow
#C2B709
ΔE00 4.14
Vomit
#A2A415
ΔE00 4.20
Mustard Green
#A8B504
ΔE00 5.18
Puke Yellow
#C2BE0E
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B5AE30 #3037B5
analogous
#B56B30 #B5AE30 #7AB530
triadic
#B5AE30 #30B5AE #AE30B5
tetradic
#B5AE30 #30B56B #3037B5 #B5307A
square
#B5AE30 #30B56B #3037B5 #B5307A
split-complementary
#B5AE30 #307AB5 #6B30B5
monochromatic
#545116 #857F23 #B5AE30 #D1CA51 #DED982
Accessibility & contrast
On white
2.32
#B5AE30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#B5AE30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B5AE30
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B5AE30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B5AE30 | 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)
#BDA718
Deuteranopia (green-blind)
#C0AD39
Tritanopia (blue-blind)
#C2A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b5ae30; /* rgb */ color: rgb(181, 174, 48); /* oklch */ color: oklch(73.5% 0.141 106.2);
Tailwind
colors: {
custom: {
50: '#cfc572',
500: '#b5ae30',
950: '#000000',
},
}SCSS
$custom: #b5ae30; $custom-light: #cfc572; $custom-dark: #000000;
JSON
{
"hex": "#b5ae30",
"rgb": {
"r": 181,
"g": 174,
"b": 48
},
"hsl": {
"h": 56.842,
"s": 58.079,
"l": 44.902
},
"oklch": {
"l": 0.73463,
"c": 0.14101,
"h": 106.2
},
"luminance": 0.40309
}Semantic roles & 50–950 ramp
primary
#B5AE30
secondary
#7A7EC7
accent
#4FE146
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B