#B2B754#B2B754
#B2B754 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.5% C 0.123 H 111.6°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B754 |
|---|---|
| RGB | rgb(178, 183, 84) |
| HSL | hsl(63, 41%, 52%) |
| HSV | hsv(63, 54%, 72%) |
| CMYK | cmyk(2.7%, 0%, 54.1%, 28.2%) |
| CIE-LAB | lab(72.21, -15.48, 48.95) |
| CIE-LCH | lch(72.21, 51.34, 107.55°) |
| OKLab | oklab(75.51% -0.0453 0.1144) |
| OKLCH | oklch(75.51% 0.123 111.6) |
| XYZ | xyz(36.8946, 43.9728, 14.9298) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.51
Light Olive
#ACBF69
ΔE00 4.82
Light Olive Green
#A4BE5C
ΔE00 5.23
Booger
#9BB53C
ΔE00 5.29
Sick Green
#9DB92C
ΔE00 6.04
Tan Green
#A9BE70
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B754 #5954B7
analogous
#B78A54 #B2B754 #81B754
triadic
#B2B754 #54B2B7 #B754B2
tetradic
#B2B754 #54B78A #5954B7 #B75481
square
#B2B754 #54B78A #5954B7 #B75481
split-complementary
#B2B754 #5481B7 #8A54B7
monochromatic
#63662B #8D913D #B2B754 #C5C97F #D9DBAA
Accessibility & contrast
On white
2.14
#B2B754 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#B2B754 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B754
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B754 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B754 | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B04A
Deuteranopia (green-blind)
#C4B259
Tritanopia (blue-blind)
#BDADA1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #b2b754; /* rgb */ color: rgb(178, 183, 84); /* oklch */ color: oklch(75.5% 0.123 111.6);
Tailwind
colors: {
custom: {
50: '#cbcc87',
500: '#b2b754',
950: '#000000',
},
}SCSS
$custom: #b2b754; $custom-light: #cbcc87; $custom-dark: #000000;
JSON
{
"hex": "#b2b754",
"rgb": {
"r": 178,
"g": 183,
"b": 84
},
"hsl": {
"h": 63.03,
"s": 40.741,
"l": 52.353
},
"oklch": {
"l": 0.75507,
"c": 0.12303,
"h": 111.6
},
"luminance": 0.43972
}Semantic roles & 50–950 ramp
primary
#B2B754
secondary
#A09EC9
accent
#57D15D
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C