#B3C042#B3C042
#B3C042 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.148 H 115.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #B3C042 |
|---|---|
| RGB | rgb(179, 192, 66) |
| HSL | hsl(66, 50%, 51%) |
| HSV | hsv(66, 66%, 75%) |
| CMYK | cmyk(6.8%, 0%, 65.6%, 24.7%) |
| CIE-LAB | lab(74.62, -20.90, 59.48) |
| CIE-LCH | lch(74.62, 63.04, 109.36°) |
| OKLab | oklab(77.4% -0.0625 0.1344) |
| OKLCH | oklch(77.4% 0.148 115) |
| XYZ | xyz(38.4244, 47.6770, 12.3316) |
| Luminance | 0.4768 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.51
Snot
#ACBB0D
ΔE00 3.57
Bile
#B5C306
ΔE00 4.03
Sick Green
#9DB92C
ΔE00 4.13
Baby Puke Green
#B6C406
ΔE00 4.14
Gross Green
#A0BF16
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B3C042 #4F42C0
analogous
#C08E42 #B3C042 #74C042
triadic
#B3C042 #42B3C0 #C042B3
tetradic
#B3C042 #42C08E #4F42C0 #C04274
square
#B3C042 #42C08E #4F42C0 #C04274
split-complementary
#B3C042 #4274C0 #8E42C0
monochromatic
#5F6622 #899431 #B3C042 #C5CF70 #D8DF9E
Accessibility & contrast
On white
1.99
#B3C042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#B3C042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B3C042
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B3C042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B3C042 | 1.00 | 1.99 | 10.54 | 10.54 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB731
Deuteranopia (green-blind)
#CCB94B
Tritanopia (blue-blind)
#BEB5A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b3c042; /* rgb */ color: rgb(179, 192, 66); /* oklch */ color: oklch(77.4% 0.148 115.0);
Tailwind
colors: {
custom: {
50: '#cdd27d',
500: '#b3c042',
950: '#000000',
},
}SCSS
$custom: #b3c042; $custom-light: #cdd27d; $custom-dark: #000000;
JSON
{
"hex": "#b3c042",
"rgb": {
"r": 179,
"g": 192,
"b": 66
},
"hsl": {
"h": 66.19,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.77402,
"c": 0.14822,
"h": 115
},
"luminance": 0.47676
}Semantic roles & 50–950 ramp
primary
#B3C042
secondary
#9993CB
accent
#4EDA5D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C