#BAC452#BAC452
#BAC452 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.0% C 0.138 H 113.8°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC452 |
|---|---|
| RGB | rgb(186, 196, 82) |
| HSL | hsl(65, 49%, 55%) |
| HSV | hsv(65, 58%, 77%) |
| CMYK | cmyk(5.1%, 0%, 58.2%, 23.1%) |
| CIE-LAB | lab(76.39, -18.88, 54.76) |
| CIE-LCH | lch(76.39, 57.93, 109.02°) |
| OKLab | oklab(79% -0.0557 0.1264) |
| OKLCH | oklch(79% 0.138 113.8) |
| XYZ | xyz(41.5135, 50.5289, 15.5472) |
| Luminance | 0.5053 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 5.20
Greenish Beige
#C9D179
ΔE00 5.23
Bile
#B5C306
ΔE00 5.30
Baby Puke Green
#B6C406
ΔE00 5.33
Snot
#ACBB0D
ΔE00 5.34
Light Olive
#ACBF69
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC452 #5C52C4
analogous
#C49552 #BAC452 #81C452
triadic
#BAC452 #52BAC4 #C452BA
tetradic
#BAC452 #52C495 #5C52C4 #C45281
square
#BAC452 #52C495 #5C52C4 #C45281
split-complementary
#BAC452 #5281C4 #9552C4
monochromatic
#6D7428 #98A237 #BAC452 #CCD480 #DEE3AD
Accessibility & contrast
On white
1.89
#BAC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.11
#BAC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC452
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC452 | 1.00 | 1.89 | 11.11 | 11.11 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D1BE59
Tritanopia (blue-blind)
#C5B9AB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bac452; /* rgb */ color: rgb(186, 196, 82); /* oklch */ color: oklch(79.0% 0.138 113.8);
Tailwind
colors: {
custom: {
50: '#d1d587',
500: '#bac452',
950: '#000000',
},
}SCSS
$custom: #bac452; $custom-light: #d1d587; $custom-dark: #000000;
JSON
{
"hex": "#bac452",
"rgb": {
"r": 186,
"g": 196,
"b": 82
},
"hsl": {
"h": 65.263,
"s": 49.138,
"l": 54.51
},
"oklch": {
"l": 0.78996,
"c": 0.13814,
"h": 113.8
},
"luminance": 0.50528
}Semantic roles & 50–950 ramp
primary
#BAC452
secondary
#433D7D
accent
#4FD95B
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#14140B
muted
#83837E