#B1C938#B1C938
#B1C938 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 79.2% C 0.166 H 118.6°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C938 |
|---|---|
| RGB | rgb(177, 201, 56) |
| HSL | hsl(70, 57%, 50%) |
| HSV | hsv(70, 72%, 79%) |
| CMYK | cmyk(11.9%, 0%, 72.1%, 21.2%) |
| CIE-LAB | lab(76.92, -26.68, 65.48) |
| CIE-LCH | lch(76.92, 70.71, 112.17°) |
| OKLab | oklab(79.2% -0.0794 0.1455) |
| OKLCH | oklch(79.2% 0.166 118.6) |
| XYZ | xyz(39.7328, 51.4062, 11.5699) |
| Luminance | 0.5141 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.95
Green Yellow
#B5CE08
ΔE00 3.11
Gross Green
#A0BF16
ΔE00 3.41
Snot Green
#9DC100
ΔE00 3.74
Baby Puke Green
#B6C406
ΔE00 3.81
Bile
#B5C306
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C938 #5038C9
analogous
#C99838 #B1C938 #68C938
triadic
#B1C938 #38B1C9 #C938B1
tetradic
#B1C938 #38C998 #5038C9 #C93868
square
#B1C938 #38C998 #5038C9 #C93868
split-complementary
#B1C938 #3868C9 #9838C9
monochromatic
#5D6A1D #879A2A #B1C938 #C4D668 #D7E398
Accessibility & contrast
On white
1.86
#B1C938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.28
#B1C938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C938
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C938 | 1.00 | 1.86 | 11.28 | 11.28 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE1C
Deuteranopia (green-blind)
#D4BE44
Tritanopia (blue-blind)
#BCBEAD
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #b1c938; /* rgb */ color: rgb(177, 201, 56); /* oklch */ color: oklch(79.2% 0.166 118.6);
Tailwind
colors: {
custom: {
50: '#ccd978',
500: '#b1c938',
950: '#000000',
},
}SCSS
$custom: #b1c938; $custom-light: #ccd978; $custom-dark: #000000;
JSON
{
"hex": "#b1c938",
"rgb": {
"r": 177,
"g": 201,
"b": 56
},
"hsl": {
"h": 69.931,
"s": 57.312,
"l": 50.392
},
"oklch": {
"l": 0.79195,
"c": 0.16576,
"h": 118.6
},
"luminance": 0.51406
}Semantic roles & 50–950 ramp
primary
#B1C938
secondary
#3C3174
accent
#47E161
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D