#B7C22F#B7C22F
#B7C22F is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.0% C 0.161 H 113.9°. Best body text is #000000 at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C22F |
|---|---|
| RGB | rgb(183, 194, 47) |
| HSL | hsl(64, 61%, 47%) |
| HSV | hsv(64, 76%, 76%) |
| CMYK | cmyk(5.7%, 0%, 75.8%, 23.9%) |
| CIE-LAB | lab(75.36, -21.20, 67.14) |
| CIE-LCH | lch(75.36, 70.41, 107.52°) |
| OKLab | oklab(78.03% -0.0653 0.1473) |
| OKLCH | oklch(78.03% 0.161 113.9) |
| XYZ | xyz(39.3345, 48.8569, 10.0470) |
| Luminance | 0.4886 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.95
Baby Puke Green
#B6C406
ΔE00 2.03
Snot
#ACBB0D
ΔE00 2.50
Pea
#A4BF20
ΔE00 3.65
Mustard Green
#A8B504
ΔE00 3.82
Green Yellow
#B5CE08
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C22F #3A2FC2
analogous
#C2842F #B7C22F #6DC22F
triadic
#B7C22F #2FB7C2 #C22FB7
tetradic
#B7C22F #2FC284 #3A2FC2 #C22F6D
square
#B7C22F #2FC284 #3A2FC2 #C22F6D
split-complementary
#B7C22F #2F6DC2 #842FC2
monochromatic
#5A5F17 #899123 #B7C22F #CDD658 #DCE289
Accessibility & contrast
On white
1.95
#B7C22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.77
#B7C22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C22F
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C22F | 1.00 | 1.95 | 10.77 | 10.77 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B807
Deuteranopia (green-blind)
#D0BB3C
Tritanopia (blue-blind)
#C3B6A6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #b7c22f; /* rgb */ color: rgb(183, 194, 47); /* oklch */ color: oklch(78.0% 0.161 113.9);
Tailwind
colors: {
custom: {
50: '#d0d473',
500: '#b7c22f',
950: '#000000',
},
}SCSS
$custom: #b7c22f; $custom-light: #d0d473; $custom-dark: #000000;
JSON
{
"hex": "#b7c22f",
"rgb": {
"r": 183,
"g": 194,
"b": 47
},
"hsl": {
"h": 64.49,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.78034,
"c": 0.16112,
"h": 113.9
},
"luminance": 0.48856
}Semantic roles & 50–950 ramp
primary
#B7C22F
secondary
#8681CC
accent
#44E450
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B