#B2B451#B2B451
#B2B451 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.122 H 110.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B2B451 |
|---|---|
| RGB | rgb(178, 180, 81) |
| HSL | hsl(61, 40%, 51%) |
| HSV | hsv(61, 55%, 71%) |
| CMYK | cmyk(1.1%, 0%, 55%, 29.4%) |
| CIE-LAB | lab(71.35, -14.20, 49.37) |
| CIE-LCH | lch(71.35, 51.37, 106.04°) |
| OKLab | oklab(74.81% -0.042 0.1149) |
| OKLCH | oklch(74.81% 0.122 110.1) |
| XYZ | xyz(36.1675, 42.7024, 14.1202) |
| Luminance | 0.4270 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.32
Light Olive
#ACBF69
ΔE00 5.75
Booger
#9BB53C
ΔE00 5.79
Khaki (survey)
#AAA662
ΔE00 6.09
Light Olive Green
#A4BE5C
ΔE00 6.16
Mustard Green
#A8B504
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2B451 #5351B4
analogous
#B48451 #B2B451 #80B451
triadic
#B2B451 #51B2B4 #B451B2
tetradic
#B2B451 #51B484 #5351B4 #B45180
square
#B2B451 #51B484 #5351B4 #B45180
split-complementary
#B2B451 #5180B4 #8451B4
monochromatic
#60612A #8A8C3C #B2B451 #C5C67C #D8D9A7
Accessibility & contrast
On white
2.20
#B2B451 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#B2B451 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2B451
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2B451 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2B451 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AD47
Deuteranopia (green-blind)
#C2B056
Tritanopia (blue-blind)
#BDAA9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #b2b451; /* rgb */ color: rgb(178, 180, 81); /* oklch */ color: oklch(74.8% 0.122 110.1);
Tailwind
colors: {
custom: {
50: '#cbca85',
500: '#b2b451',
950: '#000000',
},
}SCSS
$custom: #b2b451; $custom-light: #cbca85; $custom-dark: #000000;
JSON
{
"hex": "#b2b451",
"rgb": {
"r": 178,
"g": 180,
"b": 81
},
"hsl": {
"h": 61.212,
"s": 39.759,
"l": 51.176
},
"oklch": {
"l": 0.74812,
"c": 0.12238,
"h": 110.1
},
"luminance": 0.42702
}Semantic roles & 50–950 ramp
primary
#B2B451
secondary
#9B9BC6
accent
#58D05B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C