#B7C12F#B7C12F
#B7C12F is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.160 H 113.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C12F |
|---|---|
| RGB | rgb(183, 193, 47) |
| HSL | hsl(64, 61%, 47%) |
| HSV | hsv(64, 76%, 76%) |
| CMYK | cmyk(5.2%, 0%, 75.6%, 24.3%) |
| CIE-LAB | lab(75.08, -20.70, 66.89) |
| CIE-LCH | lch(75.08, 70.02, 107.20°) |
| OKLab | oklab(77.81% -0.064 0.1467) |
| OKLCH | oklch(77.81% 0.16 113.6) |
| XYZ | xyz(39.1127, 48.4133, 9.9731) |
| Luminance | 0.4841 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.05
Baby Puke Green
#B6C406
ΔE00 2.16
Snot
#ACBB0D
ΔE00 2.41
Mustard Green
#A8B504
ΔE00 3.65
Pea
#A4BF20
ΔE00 3.77
Puke Yellow
#C2BE0E
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C12F #392FC1
analogous
#C1822F #B7C12F #6EC12F
triadic
#B7C12F #2FB7C1 #C12FB7
tetradic
#B7C12F #2FC182 #392FC1 #C12F6E
square
#B7C12F #2FC182 #392FC1 #C12F6E
split-complementary
#B7C12F #2F6EC1 #822FC1
monochromatic
#5A5F17 #889023 #B7C12F #CDD657 #DCE288
Accessibility & contrast
On white
1.97
#B7C12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#B7C12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C12F
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C12F | 1.00 | 1.97 | 10.68 | 10.68 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B708
Deuteranopia (green-blind)
#CFBA3C
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b7c12f; /* rgb */ color: rgb(183, 193, 47); /* oklch */ color: oklch(77.8% 0.160 113.6);
Tailwind
colors: {
custom: {
50: '#d0d373',
500: '#b7c12f',
950: '#000000',
},
}SCSS
$custom: #b7c12f; $custom-light: #d0d373; $custom-dark: #000000;
JSON
{
"hex": "#b7c12f",
"rgb": {
"r": 183,
"g": 193,
"b": 47
},
"hsl": {
"h": 64.11,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.77812,
"c": 0.16007,
"h": 113.6
},
"luminance": 0.48412
}Semantic roles & 50–950 ramp
primary
#B7C12F
secondary
#8580CC
accent
#44E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B