#BABF43#BABF43
#BABF43 is a light, vivid yellow. Relative luminance 0.481; OKLCH L 77.8% C 0.145 H 111.5°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BABF43 |
|---|---|
| RGB | rgb(186, 191, 67) |
| HSL | hsl(62, 49%, 51%) |
| HSV | hsv(62, 65%, 75%) |
| CMYK | cmyk(2.6%, 0%, 64.9%, 25.1%) |
| CIE-LAB | lab(74.89, -17.41, 59.53) |
| CIE-LCH | lch(74.89, 62.02, 106.30°) |
| OKLab | oklab(77.76% -0.0531 0.1344) |
| OKLCH | oklch(77.76% 0.145 111.5) |
| XYZ | xyz(39.8948, 48.1069, 12.4931) |
| Luminance | 0.4811 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Snot
#ACBB0D
ΔE00 3.95
Bile
#B5C306
ΔE00 4.12
Baby Puke Green
#B6C406
ΔE00 4.21
Mustard Green
#A8B504
ΔE00 4.62
Puke Yellow
#C2BE0E
ΔE00 4.63
Pea
#A4BF20
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABF43 #4843BF
analogous
#BF8643 #BABF43 #7CBF43
triadic
#BABF43 #43BABF #BF43BA
tetradic
#BABF43 #43BF86 #4843BF #BF437C
square
#BABF43 #43BF86 #4843BF #BF437C
split-complementary
#BABF43 #437CBF #8643BF
monochromatic
#626522 #8F9332 #BABF43 #CBCF71 #DCDE9E
Accessibility & contrast
On white
1.98
#BABF43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.62
#BABF43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABF43
10.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABF43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABF43 | 1.00 | 1.98 | 10.62 | 10.62 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB732
Deuteranopia (green-blind)
#CEBA4B
Tritanopia (blue-blind)
#C6B4A6
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #babf43; /* rgb */ color: rgb(186, 191, 67); /* oklch */ color: oklch(77.8% 0.145 111.5);
Tailwind
colors: {
custom: {
50: '#d2d27e',
500: '#babf43',
950: '#000000',
},
}SCSS
$custom: #babf43; $custom-light: #d2d27e; $custom-dark: #000000;
JSON
{
"hex": "#babf43",
"rgb": {
"r": 186,
"g": 191,
"b": 67
},
"hsl": {
"h": 62.419,
"s": 49.206,
"l": 50.588
},
"oklch": {
"l": 0.77756,
"c": 0.14455,
"h": 111.5
},
"luminance": 0.48106
}Semantic roles & 50–950 ramp
primary
#BABF43
secondary
#9693CA
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C