#BABF45#BABF45
#BABF45 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.8% C 0.143 H 111.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BABF45 |
|---|---|
| RGB | rgb(186, 191, 69) |
| HSL | hsl(62, 49%, 51%) |
| HSV | hsv(62, 64%, 75%) |
| CMYK | cmyk(2.6%, 0%, 63.9%, 25.1%) |
| CIE-LAB | lab(74.91, -17.29, 58.73) |
| CIE-LCH | lch(74.91, 61.22, 106.40°) |
| OKLab | oklab(77.77% -0.0525 0.1331) |
| OKLCH | oklch(77.77% 0.143 111.5) |
| XYZ | xyz(39.9558, 48.1313, 12.8146) |
| Luminance | 0.4813 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 4.11
Bile
#B5C306
ΔE00 4.31
Baby Puke Green
#B6C406
ΔE00 4.40
Mustard Green
#A8B504
ΔE00 4.76
Puke Yellow
#C2BE0E
ΔE00 4.82
Pea
#A4BF20
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABF45 #4A45BF
analogous
#BF8745 #BABF45 #7DBF45
triadic
#BABF45 #45BABF #BF45BA
tetradic
#BABF45 #45BF87 #4A45BF #BF457D
square
#BABF45 #45BF87 #4A45BF #BF457D
split-complementary
#BABF45 #457DBF #8745BF
monochromatic
#646623 #909433 #BABF45 #CBCF73 #DCDEA0
Accessibility & contrast
On white
1.98
#BABF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.63
#BABF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABF45
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABF45 | 1.00 | 1.98 | 10.63 | 10.63 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB735
Deuteranopia (green-blind)
#CEBA4D
Tritanopia (blue-blind)
#C6B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #babf45; /* rgb */ color: rgb(186, 191, 69); /* oklch */ color: oklch(77.8% 0.143 111.5);
Tailwind
colors: {
custom: {
50: '#d2d27f',
500: '#babf45',
950: '#000000',
},
}SCSS
$custom: #babf45; $custom-light: #d2d27f; $custom-dark: #000000;
JSON
{
"hex": "#babf45",
"rgb": {
"r": 186,
"g": 191,
"b": 69
},
"hsl": {
"h": 62.459,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.77773,
"c": 0.14306,
"h": 111.5
},
"luminance": 0.4813
}Semantic roles & 50–950 ramp
primary
#BABF45
secondary
#9795CB
accent
#4FD855
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14140A
muted
#83827C