#B7CD3A#B7CD3A
#B7CD3A is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.6% C 0.167 H 117.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CD3A |
|---|---|
| RGB | rgb(183, 205, 58) |
| HSL | hsl(69, 60%, 52%) |
| HSV | hsv(69, 72%, 80%) |
| CMYK | cmyk(10.7%, 0%, 71.7%, 19.6%) |
| CIE-LAB | lab(78.48, -26.04, 66.45) |
| CIE-LCH | lch(78.48, 71.37, 111.40°) |
| OKLab | oklab(80.56% -0.0778 0.1477) |
| OKLCH | oklch(80.56% 0.167 117.8) |
| XYZ | xyz(42.1244, 54.0358, 12.2130) |
| Luminance | 0.5403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.60
Baby Puke Green
#B6C406
ΔE00 3.77
Bile
#B5C306
ΔE00 3.87
Pea
#A4BF20
ΔE00 4.03
Gross Green
#A0BF16
ΔE00 4.48
Snot Green
#9DC100
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CD3A #503ACD
analogous
#CD9A3A #B7CD3A #6ECD3A
triadic
#B7CD3A #3AB7CD #CD3AB7
tetradic
#B7CD3A #3ACD9A #503ACD #CD3A6E
square
#B7CD3A #3ACD9A #503ACD #CD3A6E
split-complementary
#B7CD3A #3A6ECD #9A3ACD
monochromatic
#64701C #8FA129 #B7CD3A #C9D96B #DBE69C
Accessibility & contrast
On white
1.78
#B7CD3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.81
#B7CD3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CD3A
11.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CD3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CD3A | 1.00 | 1.78 | 11.81 | 11.81 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21E
Deuteranopia (green-blind)
#D8C346
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b7cd3a; /* rgb */ color: rgb(183, 205, 58); /* oklch */ color: oklch(80.6% 0.167 117.8);
Tailwind
colors: {
custom: {
50: '#d0dc7a',
500: '#b7cd3a',
950: '#000000',
},
}SCSS
$custom: #b7cd3a; $custom-light: #d0dc7a; $custom-dark: #000000;
JSON
{
"hex": "#b7cd3a",
"rgb": {
"r": 183,
"g": 205,
"b": 58
},
"hsl": {
"h": 68.98,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.80559,
"c": 0.16692,
"h": 117.8
},
"luminance": 0.54035
}Semantic roles & 50–950 ramp
primary
#B7CD3A
secondary
#3D3279
accent
#45E35D
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D