#B7CD38#B7CD38
#B7CD38 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 80.5% C 0.168 H 117.8°. Best body text is #000000 at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #B7CD38 |
|---|---|
| RGB | rgb(183, 205, 56) |
| HSL | hsl(69, 60%, 51%) |
| HSV | hsv(69, 73%, 80%) |
| CMYK | cmyk(10.7%, 0%, 72.7%, 19.6%) |
| CIE-LAB | lab(78.47, -26.14, 67.12) |
| CIE-LCH | lch(78.47, 72.03, 111.28°) |
| OKLab | oklab(80.55% -0.0783 0.1488) |
| OKLCH | oklch(80.55% 0.168 117.8) |
| XYZ | xyz(42.0745, 54.0159, 11.9502) |
| Luminance | 0.5402 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.43
Baby Puke Green
#B6C406
ΔE00 3.64
Bile
#B5C306
ΔE00 3.75
Pea
#A4BF20
ΔE00 4.01
Gross Green
#A0BF16
ΔE00 4.45
Snot Green
#9DC100
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7CD38 #4E38CD
analogous
#CD9838 #B7CD38 #6CCD38
triadic
#B7CD38 #38B7CD #CD38B7
tetradic
#B7CD38 #38CD98 #4E38CD #CD386C
square
#B7CD38 #38CD98 #4E38CD #CD386C
split-complementary
#B7CD38 #386CCD #9838CD
monochromatic
#636F1C #8EA028 #B7CD38 #C9D969 #DAE69A
Accessibility & contrast
On white
1.78
#B7CD38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.80
#B7CD38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7CD38
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7CD38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7CD38 | 1.00 | 1.78 | 11.80 | 11.80 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DBC21A
Deuteranopia (green-blind)
#D9C345
Tritanopia (blue-blind)
#C2C2B0
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #b7cd38; /* rgb */ color: rgb(183, 205, 56); /* oklch */ color: oklch(80.5% 0.168 117.8);
Tailwind
colors: {
custom: {
50: '#d0dc79',
500: '#b7cd38',
950: '#000000',
},
}SCSS
$custom: #b7cd38; $custom-light: #d0dc79; $custom-dark: #000000;
JSON
{
"hex": "#b7cd38",
"rgb": {
"r": 183,
"g": 205,
"b": 56
},
"hsl": {
"h": 68.859,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.80546,
"c": 0.16811,
"h": 117.8
},
"luminance": 0.54015
}Semantic roles & 50–950 ramp
primary
#B7CD38
secondary
#3C3178
accent
#45E35C
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150A
muted
#83847D