#B3CA21#B3CA21
#B3CA21 is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.177 H 117.9°. Best body text is #000000 at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B3CA21 |
|---|---|
| RGB | rgb(179, 202, 33) |
| HSL | hsl(68, 72%, 46%) |
| HSV | hsv(68, 84%, 79%) |
| CMYK | cmyk(11.4%, 0%, 83.7%, 20.8%) |
| CIE-LAB | lab(77.24, -27.25, 72.51) |
| CIE-LCH | lch(77.24, 77.46, 110.60°) |
| OKLab | oklab(79.45% -0.0828 0.1565) |
| OKLCH | oklch(79.45% 0.177 117.9) |
| XYZ | xyz(39.9865, 51.9350, 9.3565) |
| Luminance | 0.5193 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.42
Baby Puke Green
#B6C406
ΔE00 2.49
Bile
#B5C306
ΔE00 2.59
Pea
#A4BF20
ΔE00 3.33
Gross Green
#A0BF16
ΔE00 3.68
Snot Green
#9DC100
ΔE00 3.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3CA21 #3821CA
analogous
#CA8C21 #B3CA21 #5ECA21
triadic
#B3CA21 #21B3CA #CA21B3
tetradic
#B3CA21 #21CA8C #3821CA #CA215E
square
#B3CA21 #21CA8C #3821CA #CA215E
split-complementary
#B3CA21 #215ECA #8C21CA
monochromatic
#566110 #849518 #B3CA21 #CCE147 #DBEA7C
Accessibility & contrast
On white
1.84
#B3CA21 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.39
#B3CA21 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3CA21
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3CA21 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3CA21 | 1.00 | 1.84 | 11.39 | 11.39 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D6C034
Tritanopia (blue-blind)
#BEBEAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #b3ca21; /* rgb */ color: rgb(179, 202, 33); /* oklch */ color: oklch(79.5% 0.177 117.9);
Tailwind
colors: {
custom: {
50: '#ceda6f',
500: '#b3ca21',
950: '#000000',
},
}SCSS
$custom: #b3ca21; $custom-light: #ceda6f; $custom-dark: #000000;
JSON
{
"hex": "#b3ca21",
"rgb": {
"r": 179,
"g": 202,
"b": 33
},
"hsl": {
"h": 68.166,
"s": 71.915,
"l": 46.078
},
"oklch": {
"l": 0.79452,
"c": 0.17708,
"h": 117.9
},
"luminance": 0.51935
}Semantic roles & 50–950 ramp
primary
#B3CA21
secondary
#2D246C
accent
#39EF52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141408
muted
#83837D