#B7C12E#B7C12E
#B7C12E is a light, vivid yellow. Relative luminance 0.484; OKLCH L 77.8% C 0.161 H 113.6°. Best body text is #000000 at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #B7C12E |
|---|---|
| RGB | rgb(183, 193, 46) |
| HSL | hsl(64, 62%, 47%) |
| HSV | hsv(64, 76%, 76%) |
| CMYK | cmyk(5.2%, 0%, 76.2%, 24.3%) |
| CIE-LAB | lab(75.08, -20.75, 67.20) |
| CIE-LCH | lch(75.08, 70.33, 107.16°) |
| OKLab | oklab(77.81% -0.0642 0.1472) |
| OKLCH | oklch(77.81% 0.161 113.6) |
| XYZ | xyz(39.0928, 48.4053, 9.8681) |
| Luminance | 0.4840 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 1.98
Baby Puke Green
#B6C406
ΔE00 2.09
Snot
#ACBB0D
ΔE00 2.38
Mustard Green
#A8B504
ΔE00 3.63
Pea
#A4BF20
ΔE00 3.77
Puke Yellow
#C2BE0E
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7C12E #382EC1
analogous
#C1822E #B7C12E #6DC12E
triadic
#B7C12E #2EB7C1 #C12EB7
tetradic
#B7C12E #2EC182 #382EC1 #C12E6D
square
#B7C12E #2EC182 #382EC1 #C12E6D
split-complementary
#B7C12E #2E6DC1 #822EC1
monochromatic
#595E16 #889022 #B7C12E #CED756 #DCE287
Accessibility & contrast
On white
1.97
#B7C12E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.68
#B7C12E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B7C12E
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7C12E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B7C12E | 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)
#D0B704
Deuteranopia (green-blind)
#CFBA3B
Tritanopia (blue-blind)
#C3B5A6
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #b7c12e; /* rgb */ color: rgb(183, 193, 46); /* oklch */ color: oklch(77.8% 0.161 113.6);
Tailwind
colors: {
custom: {
50: '#d0d373',
500: '#b7c12e',
950: '#000000',
},
}SCSS
$custom: #b7c12e; $custom-light: #d0d373; $custom-dark: #000000;
JSON
{
"hex": "#b7c12e",
"rgb": {
"r": 183,
"g": 193,
"b": 46
},
"hsl": {
"h": 64.082,
"s": 61.506,
"l": 46.863
},
"oklch": {
"l": 0.77806,
"c": 0.16059,
"h": 113.6
},
"luminance": 0.48404
}Semantic roles & 50–950 ramp
primary
#B7C12E
secondary
#847FCC
accent
#43E54E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B