#BAC435#BAC435
#BAC435 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 78.8% C 0.159 H 113.5°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC435 |
|---|---|
| RGB | rgb(186, 196, 53) |
| HSL | hsl(64, 57%, 49%) |
| HSV | hsv(64, 73%, 77%) |
| CMYK | cmyk(5.1%, 0%, 73%, 23.1%) |
| CIE-LAB | lab(76.18, -20.66, 66.03) |
| CIE-LCH | lch(76.18, 69.18, 107.37°) |
| OKLab | oklab(78.76% -0.0635 0.1459) |
| OKLCH | oklch(78.76% 0.159 113.5) |
| XYZ | xyz(40.6335, 50.1769, 10.9121) |
| Luminance | 0.5018 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.32
Baby Puke Green
#B6C406
ΔE00 2.33
Snot
#ACBB0D
ΔE00 3.16
Green Yellow
#B5CE08
ΔE00 3.99
Pea
#A4BF20
ΔE00 4.10
Puke Yellow
#C2BE0E
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC435 #3F35C4
analogous
#C48735 #BAC435 #73C435
triadic
#BAC435 #35BAC4 #C435BA
tetradic
#BAC435 #35C487 #3F35C4 #C43573
square
#BAC435 #35C487 #3F35C4 #C43573
split-complementary
#BAC435 #3573C4 #8735C4
monochromatic
#5F641B #8C9428 #BAC435 #CCD462 #DCE192
Accessibility & contrast
On white
1.90
#BAC435 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.04
#BAC435 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC435
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC435 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC435 | 1.00 | 1.90 | 11.04 | 11.04 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BA18
Deuteranopia (green-blind)
#D2BD41
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac435; /* rgb */ color: rgb(186, 196, 53); /* oklch */ color: oklch(78.8% 0.159 113.5);
Tailwind
colors: {
custom: {
50: '#d2d577',
500: '#bac435',
950: '#000000',
},
}SCSS
$custom: #bac435; $custom-light: #d2d577; $custom-dark: #000000;
JSON
{
"hex": "#bac435",
"rgb": {
"r": 186,
"g": 196,
"b": 53
},
"hsl": {
"h": 64.196,
"s": 57.43,
"l": 48.824
},
"oklch": {
"l": 0.78755,
"c": 0.15907,
"h": 113.5
},
"luminance": 0.50176
}Semantic roles & 50–950 ramp
primary
#BAC435
secondary
#332F6E
accent
#47E152
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D