#B1C138#B1C138
#B1C138 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.4% C 0.157 H 116.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #B1C138 |
|---|---|
| RGB | rgb(177, 193, 56) |
| HSL | hsl(67, 55%, 49%) |
| HSV | hsv(67, 71%, 76%) |
| CMYK | cmyk(8.3%, 0%, 71%, 24.3%) |
| CIE-LAB | lab(74.68, -22.80, 63.30) |
| CIE-LCH | lch(74.68, 67.28, 109.81°) |
| OKLab | oklab(77.39% -0.0687 0.1409) |
| OKLCH | oklch(77.39% 0.157 116) |
| XYZ | xyz(37.9162, 47.7731, 10.9644) |
| Luminance | 0.4777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.61
Snot
#ACBB0D
ΔE00 2.84
Bile
#B5C306
ΔE00 3.18
Baby Puke Green
#B6C406
ΔE00 3.30
Gross Green
#A0BF16
ΔE00 3.38
Sick Green
#9DB92C
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1C138 #4838C1
analogous
#C18D38 #B1C138 #6DC138
triadic
#B1C138 #38B1C1 #C138B1
tetradic
#B1C138 #38C18D #4838C1 #C1386D
square
#B1C138 #38C18D #4838C1 #C1386D
split-complementary
#B1C138 #386DC1 #8D38C1
monochromatic
#5A621C #85922A #B1C138 #C5D264 #D7E094
Accessibility & contrast
On white
1.99
#B1C138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#B1C138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B1C138
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1C138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B1C138 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#CDB943
Tritanopia (blue-blind)
#BCB6A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #b1c138; /* rgb */ color: rgb(177, 193, 56); /* oklch */ color: oklch(77.4% 0.157 116.0);
Tailwind
colors: {
custom: {
50: '#ccd378',
500: '#b1c138',
950: '#000000',
},
}SCSS
$custom: #b1c138; $custom-light: #ccd378; $custom-dark: #000000;
JSON
{
"hex": "#b1c138",
"rgb": {
"r": 177,
"g": 193,
"b": 56
},
"hsl": {
"h": 67.007,
"s": 55.02,
"l": 48.824
},
"oklch": {
"l": 0.77392,
"c": 0.15674,
"h": 116
},
"luminance": 0.47773
}Semantic roles & 50–950 ramp
primary
#B1C138
secondary
#918ACB
accent
#49DE5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#141409
muted
#82827B