#B2BA3D#B2BA3D
#B2BA3D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.145 H 112.9°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B2BA3D |
|---|---|
| RGB | rgb(178, 186, 61) |
| HSL | hsl(64, 51%, 48%) |
| HSV | hsv(64, 67%, 73%) |
| CMYK | cmyk(4.3%, 0%, 67.2%, 27.1%) |
| CIE-LAB | lab(72.84, -18.63, 59.61) |
| CIE-LCH | lch(72.84, 62.45, 107.36°) |
| OKLab | oklab(75.94% -0.0566 0.1339) |
| OKLCH | oklch(75.94% 0.145 112.9) |
| XYZ | xyz(36.7624, 44.9205, 11.1479) |
| Luminance | 0.4492 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.26
Mustard Green
#A8B504
ΔE00 3.52
Pea
#A4BF20
ΔE00 4.26
Bile
#B5C306
ΔE00 4.35
Sick Green
#9DB92C
ΔE00 4.47
Baby Puke Green
#B6C406
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2BA3D #453DBA
analogous
#BA833D #B2BA3D #73BA3D
triadic
#B2BA3D #3DB2BA #BA3DB2
tetradic
#B2BA3D #3DBA83 #453DBA #BA3D73
square
#B2BA3D #3DBA83 #453DBA #BA3D73
split-complementary
#B2BA3D #3D73BA #833DBA
monochromatic
#5A5E1F #868C2E #B2BA3D #C7CD67 #D8DC95
Accessibility & contrast
On white
2.10
#B2BA3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.98
#B2BA3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2BA3D
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2BA3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2BA3D | 1.00 | 2.10 | 9.98 | 9.98 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B12B
Deuteranopia (green-blind)
#C8B446
Tritanopia (blue-blind)
#BEAFA1
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #b2ba3d; /* rgb */ color: rgb(178, 186, 61); /* oklch */ color: oklch(75.9% 0.145 112.9);
Tailwind
colors: {
custom: {
50: '#ccce7a',
500: '#b2ba3d',
950: '#000000',
},
}SCSS
$custom: #b2ba3d; $custom-light: #ccce7a; $custom-dark: #000000;
JSON
{
"hex": "#b2ba3d",
"rgb": {
"r": 178,
"g": 186,
"b": 61
},
"hsl": {
"h": 63.84,
"s": 50.607,
"l": 48.431
},
"oklch": {
"l": 0.75945,
"c": 0.14539,
"h": 112.9
},
"luminance": 0.4492
}Semantic roles & 50–950 ramp
primary
#B2BA3D
secondary
#8F8BC8
accent
#4EDA57
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C