#BABE45#BABE45
#BABE45 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.6% C 0.142 H 111.1°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #BABE45 |
|---|---|
| RGB | rgb(186, 190, 69) |
| HSL | hsl(62, 48%, 51%) |
| HSV | hsv(62, 64%, 75%) |
| CMYK | cmyk(2.1%, 0%, 63.7%, 25.5%) |
| CIE-LAB | lab(74.63, -16.78, 58.44) |
| CIE-LCH | lch(74.63, 60.80, 106.03°) |
| OKLab | oklab(77.55% -0.0511 0.1325) |
| OKLCH | oklch(77.55% 0.142 111.1) |
| XYZ | xyz(39.7385, 47.6967, 12.7421) |
| Luminance | 0.4770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.19
Bile
#B5C306
ΔE00 4.48
Baby Puke Green
#B6C406
ΔE00 4.58
Mustard Green
#A8B504
ΔE00 4.74
Puke Yellow
#C2BE0E
ΔE00 4.76
Pea
#A4BF20
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABE45 #4945BE
analogous
#BE8545 #BABE45 #7EBE45
triadic
#BABE45 #45BABE #BE45BA
tetradic
#BABE45 #45BE85 #4945BE #BE457E
square
#BABE45 #45BE85 #4945BE #BE457E
split-complementary
#BABE45 #457EBE #8545BE
monochromatic
#636523 #8F9333 #BABE45 #CBCE72 #DCDEA0
Accessibility & contrast
On white
1.99
#BABE45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.54
#BABE45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABE45
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABE45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABE45 | 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)
#CCB635
Deuteranopia (green-blind)
#CDB94D
Tritanopia (blue-blind)
#C6B3A5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #babe45; /* rgb */ color: rgb(186, 190, 69); /* oklch */ color: oklch(77.6% 0.142 111.1);
Tailwind
colors: {
custom: {
50: '#d2d17f',
500: '#babe45',
950: '#000000',
},
}SCSS
$custom: #babe45; $custom-light: #d2d17f; $custom-dark: #000000;
JSON
{
"hex": "#babe45",
"rgb": {
"r": 186,
"g": 190,
"b": 69
},
"hsl": {
"h": 61.983,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.77554,
"c": 0.14198,
"h": 111.1
},
"luminance": 0.47696
}Semantic roles & 50–950 ramp
primary
#BABE45
secondary
#9695CA
accent
#50D855
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C