#B4C738#B4C738
#B4C738 is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.0% C 0.162 H 116.9°. Best body text is #000000 at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B4C738 |
|---|---|
| RGB | rgb(180, 199, 56) |
| HSL | hsl(68, 56%, 50%) |
| HSV | hsv(68, 72%, 78%) |
| CMYK | cmyk(9.5%, 0%, 71.9%, 22%) |
| CIE-LAB | lab(76.58, -24.48, 65.22) |
| CIE-LCH | lch(76.58, 69.67, 110.57°) |
| OKLab | oklab(78.97% -0.0735 0.1449) |
| OKLCH | oklch(78.97% 0.162 116.9) |
| XYZ | xyz(39.9606, 50.8362, 11.4479) |
| Luminance | 0.5084 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 3.01
Baby Puke Green
#B6C406
ΔE00 3.11
Bile
#B5C306
ΔE00 3.12
Green Yellow
#B5CE08
ΔE00 3.22
Gross Green
#A0BF16
ΔE00 3.64
Snot
#ACBB0D
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B4C738 #4B38C7
analogous
#C79238 #B4C738 #6DC738
triadic
#B4C738 #38B4C7 #C738B4
tetradic
#B4C738 #38C792 #4B38C7 #C7386D
square
#B4C738 #38C792 #4B38C7 #C7386D
split-complementary
#B4C738 #386DC7 #9238C7
monochromatic
#5E671D #89972B #B4C738 #C6D468 #D8E298
Accessibility & contrast
On white
1.88
#B4C738 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.17
#B4C738 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B4C738
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B4C738 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B4C738 | 1.00 | 1.88 | 11.17 | 11.17 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC1D
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#BFBCAB
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #b4c738; /* rgb */ color: rgb(180, 199, 56); /* oklch */ color: oklch(79.0% 0.162 116.9);
Tailwind
colors: {
custom: {
50: '#ced778',
500: '#b4c738',
950: '#000000',
},
}SCSS
$custom: #b4c738; $custom-light: #ced778; $custom-dark: #000000;
JSON
{
"hex": "#b4c738",
"rgb": {
"r": 180,
"g": 199,
"b": 56
},
"hsl": {
"h": 67.972,
"s": 56.078,
"l": 50
},
"oklch": {
"l": 0.78972,
"c": 0.16244,
"h": 116.9
},
"luminance": 0.50836
}Semantic roles & 50–950 ramp
primary
#B4C738
secondary
#3A3272
accent
#48DF5C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D