#B7C74C#B7C74C
#B7C74C is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.4% C 0.147 H 116.1°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C74C |
|---|---|
| RGB | rgb(183, 199, 76) |
| HSL | hsl(68, 52%, 54%) |
| HSV | hsv(68, 62%, 78%) |
| CMYK | cmyk(8%, 0%, 61.8%, 22%) |
| CIE-LAB | lab(76.94, -22.04, 57.90) |
| CIE-LCH | lch(76.94, 61.95, 110.84°) |
| OKLab | oklab(79.36% -0.065 0.1324) |
| OKLCH | oklch(79.36% 0.147 116.1) |
| XYZ | xyz(41.2572, 51.4365, 14.5909) |
| Luminance | 0.5144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 4.26
Bile
#B5C306
ΔE00 4.76
Baby Puke Green
#B6C406
ΔE00 4.77
Gross Green
#A0BF16
ΔE00 4.92
Green Yellow
#B5CE08
ΔE00 4.98
Snot
#ACBB0D
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C74C #5C4CC7
analogous
#C79A4C #B7C74C #7AC74C
triadic
#B7C74C #4CB7C7 #C74CB7
tetradic
#B7C74C #4CC79A #5C4CC7 #C74C7A
square
#B7C74C #4CC79A #5C4CC7 #C74C7A
split-complementary
#B7C74C #4C7AC7 #9A4CC7
monochromatic
#6A7424 #94A333 #B7C74C #CAD67B #DDE4A9
Accessibility & contrast
On white
1.86
#B7C74C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.29
#B7C74C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C74C
11.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C74C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C74C | 1.00 | 1.86 | 11.29 | 11.29 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BD3D
Deuteranopia (green-blind)
#D3BF54
Tritanopia (blue-blind)
#C2BCAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b7c74c; /* rgb */ color: rgb(183, 199, 76); /* oklch */ color: oklch(79.4% 0.147 116.1);
Tailwind
colors: {
custom: {
50: '#cfd783',
500: '#b7c74c',
950: '#000000',
},
}SCSS
$custom: #b7c74c; $custom-light: #cfd783; $custom-dark: #000000;
JSON
{
"hex": "#b7c74c",
"rgb": {
"r": 183,
"g": 199,
"b": 76
},
"hsl": {
"h": 67.805,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.79364,
"c": 0.14746,
"h": 116.1
},
"luminance": 0.51436
}Semantic roles & 50–950 ramp
primary
#B7C74C
secondary
#433A7D
accent
#4CDC5F
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E