#B7CD42#B7CD42
#B7CD42 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 80.6% C 0.162 H 118.0°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CD42 |
|---|---|
| RGB | rgb(183, 205, 66) |
| HSL | hsl(69, 58%, 53%) |
| HSV | hsv(69, 68%, 80%) |
| CMYK | cmyk(10.7%, 0%, 67.8%, 19.6%) |
| CIE-LAB | lab(78.53, -25.60, 63.58) |
| CIE-LCH | lch(78.53, 68.54, 111.93°) |
| OKLab | oklab(80.62% -0.0759 0.1429) |
| OKLCH | oklch(80.62% 0.162 118) |
| XYZ | xyz(42.3440, 54.1237, 13.3694) |
| Luminance | 0.5412 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 3.35
Pea
#A4BF20
ΔE00 4.20
Baby Puke Green
#B6C406
ΔE00 4.36
Bile
#B5C306
ΔE00 4.43
Gross Green
#A0BF16
ΔE00 4.67
Snot Green
#9DC100
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CD42 #5842CD
analogous
#CD9D42 #B7CD42 #72CD42
triadic
#B7CD42 #42B7CD #CD42B7
tetradic
#B7CD42 #42CD9D #5842CD #CD4272
square
#B7CD42 #42CD9D #5842CD #CD4272
split-complementary
#B7CD42 #4272CD #9D42CD
monochromatic
#68761F #93A62C #B7CD42 #C9DA72 #DCE7A3
Accessibility & contrast
On white
1.78
#B7CD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.82
#B7CD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CD42
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CD42 | 1.00 | 1.78 | 11.82 | 11.82 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DAC22D
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#C2C2B1
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b7cd42; /* rgb */ color: rgb(183, 205, 66); /* oklch */ color: oklch(80.6% 0.162 118.0);
Tailwind
colors: {
custom: {
50: '#d0dc7e',
500: '#b7cd42',
950: '#000000',
},
}SCSS
$custom: #b7cd42; $custom-light: #d0dc7e; $custom-dark: #000000;
JSON
{
"hex": "#b7cd42",
"rgb": {
"r": 183,
"g": 205,
"b": 66
},
"hsl": {
"h": 69.496,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.80617,
"c": 0.16181,
"h": 118
},
"luminance": 0.54123
}Semantic roles & 50–950 ramp
primary
#B7CD42
secondary
#41357E
accent
#46E15F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D