#BABE4A#BABE4A
#BABE4A is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.6% C 0.138 H 111.1°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #BABE4A |
|---|---|
| RGB | rgb(186, 190, 74) |
| HSL | hsl(62, 47%, 52%) |
| HSV | hsv(62, 61%, 75%) |
| CMYK | cmyk(2.1%, 0%, 61.1%, 25.5%) |
| CIE-LAB | lab(74.67, -16.45, 56.37) |
| CIE-LCH | lch(74.67, 58.73, 106.27°) |
| OKLab | oklab(77.6% -0.0496 0.1288) |
| OKLCH | oklch(77.6% 0.138 111.1) |
| XYZ | xyz(39.9003, 47.7614, 13.5942) |
| Luminance | 0.4776 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.66
Bile
#B5C306
ΔE00 5.00
Baby Puke Green
#B6C406
ΔE00 5.09
Mustard Green
#A8B504
ΔE00 5.15
Puke Yellow
#C2BE0E
ΔE00 5.28
Pea
#A4BF20
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABE4A #4E4ABE
analogous
#BE884A #BABE4A #80BE4A
triadic
#BABE4A #4ABABE #BE4ABA
tetradic
#BABE4A #4ABE88 #4E4ABE #BE4A80
square
#BABE4A #4ABE88 #4E4ABE #BE4A80
split-complementary
#BABE4A #4A80BE #884ABE
monochromatic
#666825 #929536 #BABE4A #CBCE77 #DCDEA4
Accessibility & contrast
On white
1.99
#BABE4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#BABE4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABE4A
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABE4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABE4A | 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)
#CCB63C
Deuteranopia (green-blind)
#CDB951
Tritanopia (blue-blind)
#C6B3A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #babe4a; /* rgb */ color: rgb(186, 190, 74); /* oklch */ color: oklch(77.6% 0.138 111.1);
Tailwind
colors: {
custom: {
50: '#d1d182',
500: '#babe4a',
950: '#000000',
},
}SCSS
$custom: #babe4a; $custom-light: #d1d182; $custom-dark: #000000;
JSON
{
"hex": "#babe4a",
"rgb": {
"r": 186,
"g": 190,
"b": 74
},
"hsl": {
"h": 62.069,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.77599,
"c": 0.13805,
"h": 111.1
},
"luminance": 0.4776
}Semantic roles & 50–950 ramp
primary
#BABE4A
secondary
#9A98CB
accent
#51D756
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140B
muted
#83827C