#BAC62F#BAC62F
#BAC62F is a light, vivid yellow. Relative luminance 0.510; OKLCH L 79.2% C 0.164 H 114.2°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC62F |
|---|---|
| RGB | rgb(186, 198, 47) |
| HSL | hsl(65, 62%, 48%) |
| HSV | hsv(65, 76%, 78%) |
| CMYK | cmyk(6.1%, 0%, 76.3%, 22.4%) |
| CIE-LAB | lab(76.70, -21.90, 68.46) |
| CIE-LCH | lch(76.70, 71.88, 107.74°) |
| OKLab | oklab(79.16% -0.0675 0.15) |
| OKLCH | oklch(79.16% 0.164 114.2) |
| XYZ | xyz(40.9581, 51.0333, 10.3816) |
| Luminance | 0.5103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Puke Green
#B6C406
ΔE00 1.83
Bile
#B5C306
ΔE00 1.88
Green Yellow
#B5CE08
ΔE00 3.24
Snot
#ACBB0D
ΔE00 3.24
Pea
#A4BF20
ΔE00 4.03
Puke Yellow
#C2BE0E
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC62F #3B2FC6
analogous
#C6862F #BAC62F #6EC62F
triadic
#BAC62F #2FBAC6 #C62FBA
tetradic
#BAC62F #2FC686 #3B2FC6 #C62F6E
square
#BAC62F #2FC686 #3B2FC6 #C62F6E
split-complementary
#BAC62F #2F6EC6 #862FC6
monochromatic
#5D6318 #8C9523 #BAC62F #CED85A #DDE48C
Accessibility & contrast
On white
1.87
#BAC62F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.21
#BAC62F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC62F
11.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC62F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC62F | 1.00 | 1.87 | 11.21 | 11.21 |
| #FFFFFF | 1.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BC03
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#C7BAAA
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #bac62f; /* rgb */ color: rgb(186, 198, 47); /* oklch */ color: oklch(79.2% 0.164 114.2);
Tailwind
colors: {
custom: {
50: '#d3d774',
500: '#bac62f',
950: '#000000',
},
}SCSS
$custom: #bac62f; $custom-light: #d3d774; $custom-dark: #000000;
JSON
{
"hex": "#bac62f",
"rgb": {
"r": 186,
"g": 198,
"b": 47
},
"hsl": {
"h": 64.768,
"s": 61.633,
"l": 48.039
},
"oklch": {
"l": 0.79163,
"c": 0.16443,
"h": 114.2
},
"luminance": 0.51033
}Semantic roles & 50–950 ramp
primary
#BAC62F
secondary
#312C6E
accent
#43E550
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151409
muted
#84837D