#B2BA4E#B2BA4E
#B2BA4E is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.1% C 0.132 H 113.0°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BA4E |
|---|---|
| RGB | rgb(178, 186, 78) |
| HSL | hsl(64, 44%, 52%) |
| HSV | hsv(64, 58%, 73%) |
| CMYK | cmyk(4.3%, 0%, 58.1%, 27.1%) |
| CIE-LAB | lab(72.98, -17.48, 52.58) |
| CIE-LCH | lch(72.98, 55.41, 108.39°) |
| OKLab | oklab(76.1% -0.0516 0.1215) |
| OKLCH | oklch(76.1% 0.132 113) |
| XYZ | xyz(37.2950, 45.1336, 13.9533) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 4.68
Light Olive Green
#A4BE5C
ΔE00 4.93
Light Olive
#ACBF69
ΔE00 4.97
Sick Green
#9DB92C
ΔE00 5.02
Snot
#ACBB0D
ΔE00 5.16
Mustard Green
#A8B504
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BA4E #564EBA
analogous
#BA8C4E #B2BA4E #7CBA4E
triadic
#B2BA4E #4EB2BA #BA4EB2
tetradic
#B2BA4E #4EBA8C #564EBA #BA4E7C
square
#B2BA4E #4EBA8C #564EBA #BA4E7C
split-complementary
#B2BA4E #4E7CBA #8C4EBA
monochromatic
#616628 #8B9239 #B2BA4E #C5CB7A #D8DCA6
Accessibility & contrast
On white
2.09
#B2BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#B2BA4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BA4E
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BA4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BA4E | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#C7B454
Tritanopia (blue-blind)
#BDB0A3
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2ba4e; /* rgb */ color: rgb(178, 186, 78); /* oklch */ color: oklch(76.1% 0.132 113.0);
Tailwind
colors: {
custom: {
50: '#cbce84',
500: '#b2ba4e',
950: '#000000',
},
}SCSS
$custom: #b2ba4e; $custom-light: #cbce84; $custom-dark: #000000;
JSON
{
"hex": "#b2ba4e",
"rgb": {
"r": 178,
"g": 186,
"b": 78
},
"hsl": {
"h": 64.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.76102,
"c": 0.13198,
"h": 113
},
"luminance": 0.45133
}Semantic roles & 50–950 ramp
primary
#B2BA4E
secondary
#9E9ACA
accent
#54D45E
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C