#B7CC2D#B7CC2D
#B7CC2D is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.3% C 0.173 H 117.3°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CC2D |
|---|---|
| RGB | rgb(183, 204, 45) |
| HSL | hsl(68, 64%, 49%) |
| HSV | hsv(68, 78%, 80%) |
| CMYK | cmyk(10.3%, 0%, 77.9%, 20%) |
| CIE-LAB | lab(78.14, -26.14, 70.28) |
| CIE-LCH | lch(78.14, 74.99, 110.41°) |
| OKLab | oklab(80.26% -0.0792 0.1536) |
| OKLCH | oklch(80.26% 0.173 117.3) |
| XYZ | xyz(41.5960, 53.4430, 10.6064) |
| Luminance | 0.5344 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 1.69
Baby Puke Green
#B6C406
ΔE00 2.85
Bile
#B5C306
ΔE00 2.98
Pea
#A4BF20
ΔE00 3.89
Gross Green
#A0BF16
ΔE00 4.32
Snot
#ACBB0D
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CC2D #422DCC
analogous
#CC922D #B7CC2D #67CC2D
triadic
#B7CC2D #2DB7CC #CC2DB7
tetradic
#B7CC2D #2DCC92 #422DCC #CC2D67
square
#B7CC2D #2DCC92 #422DCC #CC2D67
split-complementary
#B7CC2D #2D67CC #922DCC
monochromatic
#5D6817 #8A9A22 #B7CC2D #CADB5B #DAE68D
Accessibility & contrast
On white
1.80
#B7CC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#B7CC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CC2D
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CC2D | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#D8C23C
Tritanopia (blue-blind)
#C3C0AF
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #b7cc2d; /* rgb */ color: rgb(183, 204, 45); /* oklch */ color: oklch(80.3% 0.173 117.3);
Tailwind
colors: {
custom: {
50: '#d1db74',
500: '#b7cc2d',
950: '#000000',
},
}SCSS
$custom: #b7cc2d; $custom-light: #d1db74; $custom-dark: #000000;
JSON
{
"hex": "#b7cc2d",
"rgb": {
"r": 183,
"g": 204,
"b": 45
},
"hsl": {
"h": 67.925,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.80259,
"c": 0.17279,
"h": 117.3
},
"luminance": 0.53442
}Semantic roles & 50–950 ramp
primary
#B7CC2D
secondary
#352B72
accent
#41E757
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141509
muted
#83847D