#BACA38#BACA38
#BACA38 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.1% C 0.164 H 115.7°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BACA38 |
|---|---|
| RGB | rgb(186, 202, 56) |
| HSL | hsl(67, 58%, 51%) |
| HSV | hsv(67, 72%, 79%) |
| CMYK | cmyk(7.9%, 0%, 72.3%, 20.8%) |
| CIE-LAB | lab(77.86, -23.45, 66.61) |
| CIE-LCH | lch(77.86, 70.62, 109.40°) |
| OKLab | oklab(80.11% -0.071 0.1476) |
| OKLCH | oklch(80.11% 0.164 115.7) |
| XYZ | xyz(42.0851, 52.9663, 11.7471) |
| Luminance | 0.5297 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.81
Baby Puke Green
#B6C406
ΔE00 2.84
Bile
#B5C306
ΔE00 2.93
Pea
#A4BF20
ΔE00 4.05
Snot
#ACBB0D
ΔE00 4.21
Gross Green
#A0BF16
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACA38 #4838CA
analogous
#CA9138 #BACA38 #71CA38
triadic
#BACA38 #38BACA #CA38BA
tetradic
#BACA38 #38CA91 #4838CA #CA3871
square
#BACA38 #38CA91 #4838CA #CA3871
split-complementary
#BACA38 #3871CA #9138CA
monochromatic
#626B1D #8F9B29 #BACA38 #CBD768 #DCE499
Accessibility & contrast
On white
1.81
#BACA38 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.59
#BACA38 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACA38
11.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACA38 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACA38 | 1.00 | 1.81 | 11.59 | 11.59 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C01B
Deuteranopia (green-blind)
#D7C244
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #baca38; /* rgb */ color: rgb(186, 202, 56); /* oklch */ color: oklch(80.1% 0.164 115.7);
Tailwind
colors: {
custom: {
50: '#d2da79',
500: '#baca38',
950: '#000000',
},
}SCSS
$custom: #baca38; $custom-light: #d2da79; $custom-dark: #000000;
JSON
{
"hex": "#baca38",
"rgb": {
"r": 186,
"g": 202,
"b": 56
},
"hsl": {
"h": 66.575,
"s": 57.937,
"l": 50.588
},
"oklch": {
"l": 0.80106,
"c": 0.16378,
"h": 115.7
},
"luminance": 0.52966
}Semantic roles & 50–950 ramp
primary
#BACA38
secondary
#393175
accent
#47E158
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#15140A
muted
#84837D