#B3C040#B3C040
#B3C040 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.150 H 114.9°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #B3C040 |
|---|---|
| RGB | rgb(179, 192, 64) |
| HSL | hsl(66, 50%, 50%) |
| HSV | hsv(66, 67%, 75%) |
| CMYK | cmyk(6.8%, 0%, 66.7%, 24.7%) |
| CIE-LAB | lab(74.61, -21.02, 60.26) |
| CIE-LCH | lch(74.61, 63.82, 109.23°) |
| OKLab | oklab(77.39% -0.0631 0.1357) |
| OKLCH | oklch(77.39% 0.15 114.9) |
| XYZ | xyz(38.3664, 47.6538, 12.0265) |
| Luminance | 0.4765 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.38
Pea
#A4BF20
ΔE00 3.40
Bile
#B5C306
ΔE00 3.82
Baby Puke Green
#B6C406
ΔE00 3.93
Sick Green
#9DB92C
ΔE00 4.11
Gross Green
#A0BF16
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3C040 #4D40C0
analogous
#C08D40 #B3C040 #73C040
triadic
#B3C040 #40B3C0 #C040B3
tetradic
#B3C040 #40C08D #4D40C0 #C04073
square
#B3C040 #40C08D #4D40C0 #C04073
split-complementary
#B3C040 #4073C0 #8D40C0
monochromatic
#5E6421 #899230 #B3C040 #C5CF6E #D8DE9C
Accessibility & contrast
On white
1.99
#B3C040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.53
#B3C040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3C040
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3C040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3C040 | 1.00 | 1.99 | 10.53 | 10.53 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB72E
Deuteranopia (green-blind)
#CDB949
Tritanopia (blue-blind)
#BEB5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b3c040; /* rgb */ color: rgb(179, 192, 64); /* oklch */ color: oklch(77.4% 0.150 114.9);
Tailwind
colors: {
custom: {
50: '#cdd27c',
500: '#b3c040',
950: '#000000',
},
}SCSS
$custom: #b3c040; $custom-light: #cdd27c; $custom-dark: #000000;
JSON
{
"hex": "#b3c040",
"rgb": {
"r": 179,
"g": 192,
"b": 64
},
"hsl": {
"h": 66.094,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.77386,
"c": 0.14966,
"h": 114.9
},
"luminance": 0.47653
}Semantic roles & 50–950 ramp
primary
#B3C040
secondary
#9791CB
accent
#4EDA5C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C