#B2BA3E#B2BA3E
#B2BA3E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.0% C 0.145 H 112.9°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BA3E |
|---|---|
| RGB | rgb(178, 186, 62) |
| HSL | hsl(64, 50%, 49%) |
| HSV | hsv(64, 67%, 73%) |
| CMYK | cmyk(4.3%, 0%, 66.7%, 27.1%) |
| CIE-LAB | lab(72.85, -18.57, 59.22) |
| CIE-LCH | lch(72.85, 62.06, 107.41°) |
| OKLab | oklab(75.95% -0.0564 0.1333) |
| OKLCH | oklch(75.95% 0.145 112.9) |
| XYZ | xyz(36.7895, 44.9314, 11.2911) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.36
Mustard Green
#A8B504
ΔE00 3.61
Pea
#A4BF20
ΔE00 4.30
Bile
#B5C306
ΔE00 4.44
Sick Green
#9DB92C
ΔE00 4.47
Baby Puke Green
#B6C406
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BA3E #463EBA
analogous
#BA843E #B2BA3E #74BA3E
triadic
#B2BA3E #3EB2BA #BA3EB2
tetradic
#B2BA3E #3EBA84 #463EBA #BA3E74
square
#B2BA3E #3EBA84 #463EBA #BA3E74
split-complementary
#B2BA3E #3E74BA #843EBA
monochromatic
#5A5E1F #868C2F #B2BA3E #C6CD68 #D8DC96
Accessibility & contrast
On white
2.10
#B2BA3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#B2BA3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BA3E
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BA3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BA3E | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B12C
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#BEAFA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2ba3e; /* rgb */ color: rgb(178, 186, 62); /* oklch */ color: oklch(76.0% 0.145 112.9);
Tailwind
colors: {
custom: {
50: '#ccce7a',
500: '#b2ba3e',
950: '#000000',
},
}SCSS
$custom: #b2ba3e; $custom-light: #ccce7a; $custom-dark: #000000;
JSON
{
"hex": "#b2ba3e",
"rgb": {
"r": 178,
"g": 186,
"b": 62
},
"hsl": {
"h": 63.871,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.75953,
"c": 0.14469,
"h": 112.9
},
"luminance": 0.44931
}Semantic roles & 50–950 ramp
primary
#B2BA3E
secondary
#908CC8
accent
#4EDA57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C