#B2AE54#B2AE54
#B2AE54 is a light, moderate yellow. Relative luminance 0.404; OKLCH L 73.5% C 0.113 H 106.6°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B2AE54 |
|---|---|
| RGB | rgb(178, 174, 84) |
| HSL | hsl(57, 38%, 51%) |
| HSV | hsv(57, 53%, 70%) |
| CMYK | cmyk(0%, 2.2%, 52.8%, 30.2%) |
| CIE-LAB | lab(69.74, -10.85, 46.09) |
| CIE-LCH | lch(69.74, 47.35, 103.24°) |
| OKLab | oklab(73.54% -0.0322 0.1082) |
| OKLCH | oklch(73.54% 0.113 106.6) |
| XYZ | xyz(35.0973, 40.3782, 14.3307) |
| Luminance | 0.4038 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.67
Khaki (survey)
#AAA662
ΔE00 4.26
Vomit
#A2A415
ΔE00 6.51
Puke
#A5A502
ΔE00 6.95
Light Olive
#ACBF69
ΔE00 7.23
Booger
#9BB53C
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2AE54 #5458B2
analogous
#B27F54 #B2AE54 #87B254
triadic
#B2AE54 #54B2AE #AE54B2
tetradic
#B2AE54 #54B27F #5458B2 #B25487
square
#B2AE54 #54B27F #5458B2 #B25487
split-complementary
#B2AE54 #5487B2 #7F54B2
monochromatic
#605E2B #8A873E #B2AE54 #C5C27E #D8D6A8
Accessibility & contrast
On white
2.31
#B2AE54 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#B2AE54 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2AE54
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2AE54 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2AE54 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA84B
Deuteranopia (green-blind)
#BDAC59
Tritanopia (blue-blind)
#BDA49A
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #b2ae54; /* rgb */ color: rgb(178, 174, 84); /* oklch */ color: oklch(73.5% 0.113 106.6);
Tailwind
colors: {
custom: {
50: '#cbc687',
500: '#b2ae54',
950: '#000000',
},
}SCSS
$custom: #b2ae54; $custom-light: #cbc687; $custom-dark: #000000;
JSON
{
"hex": "#b2ae54",
"rgb": {
"r": 178,
"g": 174,
"b": 84
},
"hsl": {
"h": 57.447,
"s": 37.903,
"l": 51.373
},
"oklch": {
"l": 0.73536,
"c": 0.11286,
"h": 106.6
},
"luminance": 0.40377
}Semantic roles & 50–950 ramp
primary
#B2AE54
secondary
#9C9EC6
accent
#5FCE5A
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14120B
muted
#82817C