#B2CA38#B2CA38
#B2CA38 is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.5% C 0.167 H 118.6°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).
Color values
| HEX | #B2CA38 |
|---|---|
| RGB | rgb(178, 202, 56) |
| HSL | hsl(70, 58%, 51%) |
| HSV | hsv(70, 72%, 79%) |
| CMYK | cmyk(11.9%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.28, -26.75, 65.85) |
| CIE-LCH | lch(77.28, 71.08, 112.11°) |
| OKLab | oklab(79.5% -0.0797 0.1462) |
| OKLCH | oklch(79.5% 0.167 118.6) |
| XYZ | xyz(40.1953, 51.9919, 11.6585) |
| Luminance | 0.5199 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.94
Pea
#A4BF20
ΔE00 3.17
Gross Green
#A0BF16
ΔE00 3.61
Baby Puke Green
#B6C406
ΔE00 3.80
Bile
#B5C306
ΔE00 3.84
Snot Green
#9DC100
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B2CA38 #5038CA
analogous
#CA9938 #B2CA38 #69CA38
triadic
#B2CA38 #38B2CA #CA38B2
tetradic
#B2CA38 #38CA99 #5038CA #CA3869
square
#B2CA38 #38CA99 #5038CA #CA3869
split-complementary
#B2CA38 #3869CA #9938CA
monochromatic
#5E6B1D #899B29 #B2CA38 #C5D768 #D7E499
Accessibility & contrast
On white
1.84
#B2CA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.40
#B2CA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B2CA38
11.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B2CA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B2CA38 | 1.00 | 1.84 | 11.40 | 11.40 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7BF1C
Deuteranopia (green-blind)
#D5BF44
Tritanopia (blue-blind)
#BDBFAE
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b2ca38; /* rgb */ color: rgb(178, 202, 56); /* oklch */ color: oklch(79.5% 0.167 118.6);
Tailwind
colors: {
custom: {
50: '#cdda79',
500: '#b2ca38',
950: '#000000',
},
}SCSS
$custom: #b2ca38; $custom-light: #cdda79; $custom-dark: #000000;
JSON
{
"hex": "#b2ca38",
"rgb": {
"r": 178,
"g": 202,
"b": 56
},
"hsl": {
"h": 69.863,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.79495,
"c": 0.16653,
"h": 118.6
},
"luminance": 0.51992
}Semantic roles & 50–950 ramp
primary
#B2CA38
secondary
#3C3175
accent
#47E160
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D