#B3AE31#B3AE31
#B3AE31 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.3% C 0.141 H 107.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B3AE31 |
|---|---|
| RGB | rgb(179, 174, 49) |
| HSL | hsl(58, 57%, 45%) |
| HSV | hsv(58, 73%, 70%) |
| CMYK | cmyk(0%, 2.8%, 72.6%, 29.8%) |
| CIE-LAB | lab(69.53, -12.73, 60.87) |
| CIE-LCH | lch(69.53, 62.19, 101.81°) |
| OKLab | oklab(73.29% -0.0413 0.1345) |
| OKLCH | oklch(73.29% 0.141 107.1) |
| XYZ | xyz(34.2822, 40.0787, 8.8353) |
| Luminance | 0.4008 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 3.67
Vomit
#A2A415
ΔE00 3.89
Olive Yellow
#C2B709
ΔE00 4.50
Muddy Yellow
#BFAC05
ΔE00 4.67
Mustard Green
#A8B504
ΔE00 4.81
Puke Yellow
#C2BE0E
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3AE31 #3136B3
analogous
#B36D31 #B3AE31 #77B331
triadic
#B3AE31 #31B3AE #AE31B3
tetradic
#B3AE31 #31B36D #3136B3 #B33177
square
#B3AE31 #31B36D #3136B3 #B33177
split-complementary
#B3AE31 #3177B3 #6D31B3
monochromatic
#535117 #837F24 #B3AE31 #D0CB52 #DDD982
Accessibility & contrast
On white
2.33
#B3AE31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#B3AE31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3AE31
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3AE31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3AE31 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA71A
Deuteranopia (green-blind)
#BFAC3A
Tritanopia (blue-blind)
#C0A296
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b3ae31; /* rgb */ color: rgb(179, 174, 49); /* oklch */ color: oklch(73.3% 0.141 107.1);
Tailwind
colors: {
custom: {
50: '#cdc572',
500: '#b3ae31',
950: '#000000',
},
}SCSS
$custom: #b3ae31; $custom-light: #cdc572; $custom-dark: #000000;
JSON
{
"hex": "#b3ae31",
"rgb": {
"r": 179,
"g": 174,
"b": 49
},
"hsl": {
"h": 57.692,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.73292,
"c": 0.14069,
"h": 107.1
},
"luminance": 0.40078
}Semantic roles & 50–950 ramp
primary
#B3AE31
secondary
#7A7DC6
accent
#4DE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141208
muted
#83817B