#B7CA28#B7CA28
#B7CA28 is a light, vivid yellow. Relative luminance 0.525; OKLCH L 79.8% C 0.173 H 116.6°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CA28 |
|---|---|
| RGB | rgb(183, 202, 40) |
| HSL | hsl(67, 67%, 47%) |
| HSV | hsv(67, 80%, 79%) |
| CMYK | cmyk(9.4%, 0%, 80.2%, 20.8%) |
| CIE-LAB | lab(77.56, -25.37, 71.15) |
| CIE-LCH | lch(77.56, 75.54, 109.62°) |
| OKLab | oklab(79.79% -0.0774 0.1546) |
| OKLCH | oklch(79.79% 0.173 116.6) |
| XYZ | xyz(41.0331, 52.4621, 9.9717) |
| Luminance | 0.5246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.76
Baby Puke Green
#B6C406
ΔE00 2.18
Bile
#B5C306
ΔE00 2.31
Pea
#A4BF20
ΔE00 3.72
Snot
#ACBB0D
ΔE00 3.88
Gross Green
#A0BF16
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CA28 #3B28CA
analogous
#CA8C28 #B7CA28 #66CA28
triadic
#B7CA28 #28B7CA #CA28B7
tetradic
#B7CA28 #28CA8C #3B28CA #CA2866
square
#B7CA28 #28CA8C #3B28CA #CA2866
split-complementary
#B7CA28 #2866CA #8C28CA
monochromatic
#5A6414 #89971E #B7CA28 #CDDD52 #DCE785
Accessibility & contrast
On white
1.83
#B7CA28 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#B7CA28 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CA28
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CA28 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CA28 | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C139
Tritanopia (blue-blind)
#C3BEAD
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #b7ca28; /* rgb */ color: rgb(183, 202, 40); /* oklch */ color: oklch(79.8% 0.173 116.6);
Tailwind
colors: {
custom: {
50: '#d1da72',
500: '#b7ca28',
950: '#000000',
},
}SCSS
$custom: #b7ca28; $custom-light: #d1da72; $custom-dark: #000000;
JSON
{
"hex": "#b7ca28",
"rgb": {
"r": 183,
"g": 202,
"b": 40
},
"hsl": {
"h": 67.037,
"s": 66.942,
"l": 47.451
},
"oklch": {
"l": 0.79786,
"c": 0.1729,
"h": 116.6
},
"luminance": 0.52462
}Semantic roles & 50–950 ramp
primary
#B7CA28
secondary
#30286E
accent
#3EEA52
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D