#BAC92D#BAC92D
#BAC92D is a light, vivid yellow. Relative luminance 0.524; OKLCH L 79.8% C 0.169 H 115.2°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC92D |
|---|---|
| RGB | rgb(186, 201, 45) |
| HSL | hsl(66, 63%, 48%) |
| HSV | hsv(66, 78%, 79%) |
| CMYK | cmyk(7.5%, 0%, 77.6%, 21.2%) |
| CIE-LAB | lab(77.52, -23.45, 69.81) |
| CIE-LCH | lch(77.52, 73.64, 108.57°) |
| OKLab | oklab(79.82% -0.0719 0.1525) |
| OKLCH | oklch(79.82% 0.169 115.2) |
| XYZ | xyz(41.6112, 52.4026, 10.4048) |
| Luminance | 0.5240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.98
Bile
#B5C306
ΔE00 2.11
Green Yellow
#B5CE08
ΔE00 2.43
Snot
#ACBB0D
ΔE00 3.75
Pea
#A4BF20
ΔE00 4.06
Gross Green
#A0BF16
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC92D #3C2DC9
analogous
#C98A2D #BAC92D #6CC92D
triadic
#BAC92D #2DBAC9 #C92DBA
tetradic
#BAC92D #2DC98A #3C2DC9 #C92D6C
square
#BAC92D #2DC98A #3C2DC9 #C92D6C
split-complementary
#BAC92D #2D6CC9 #8A2DC9
monochromatic
#5D6517 #8C9722 #BAC92D #CEDA59 #DCE58B
Accessibility & contrast
On white
1.83
#BAC92D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.48
#BAC92D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC92D
11.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC92D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC92D | 1.00 | 1.83 | 11.48 | 11.48 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#D7C13C
Tritanopia (blue-blind)
#C6BDAC
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bac92d; /* rgb */ color: rgb(186, 201, 45); /* oklch */ color: oklch(79.8% 0.169 115.2);
Tailwind
colors: {
custom: {
50: '#d3d974',
500: '#bac92d',
950: '#000000',
},
}SCSS
$custom: #bac92d; $custom-light: #d3d974; $custom-dark: #000000;
JSON
{
"hex": "#bac92d",
"rgb": {
"r": 186,
"g": 201,
"b": 45
},
"hsl": {
"h": 65.769,
"s": 63.415,
"l": 48.235
},
"oklch": {
"l": 0.79819,
"c": 0.16857,
"h": 115.2
},
"luminance": 0.52402
}Semantic roles & 50–950 ramp
primary
#BAC92D
secondary
#312B6F
accent
#41E651
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D