#BACF3B#BACF3B
#BACF3B is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.2% C 0.168 H 117.4°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BACF3B |
|---|---|
| RGB | rgb(186, 207, 59) |
| HSL | hsl(69, 61%, 52%) |
| HSV | hsv(69, 71%, 81%) |
| CMYK | cmyk(10.1%, 0%, 71.5%, 18.8%) |
| CIE-LAB | lab(79.26, -25.72, 66.93) |
| CIE-LCH | lch(79.26, 71.70, 111.02°) |
| OKLab | oklab(81.24% -0.077 0.1488) |
| OKLCH | oklch(81.24% 0.168 117.4) |
| XYZ | xyz(43.3529, 55.3810, 12.5426) |
| Luminance | 0.5538 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 2.54
Baby Puke Green
#B6C406
ΔE00 3.89
Bile
#B5C306
ΔE00 4.03
Pea
#A4BF20
ΔE00 4.59
Yellowish Green
#B0DD16
ΔE00 4.94
Gross Green
#A0BF16
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BACF3B #503BCF
analogous
#CF9A3B #BACF3B #70CF3B
triadic
#BACF3B #3BBACF #CF3BBA
tetradic
#BACF3B #3BCF9A #503BCF #CF3B70
square
#BACF3B #3BCF9A #503BCF #CF3B70
split-complementary
#BACF3B #3B70CF #9A3BCF
monochromatic
#67731C #93A528 #BACF3B #CBDB6C #DDE79D
Accessibility & contrast
On white
1.74
#BACF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.08
#BACF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BACF3B
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BACF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BACF3B | 1.00 | 1.74 | 12.08 | 12.08 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#C5C3B2
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #bacf3b; /* rgb */ color: rgb(186, 207, 59); /* oklch */ color: oklch(81.2% 0.168 117.4);
Tailwind
colors: {
custom: {
50: '#d2dd7b',
500: '#bacf3b',
950: '#000000',
},
}SCSS
$custom: #bacf3b; $custom-light: #d2dd7b; $custom-dark: #000000;
JSON
{
"hex": "#bacf3b",
"rgb": {
"r": 186,
"g": 207,
"b": 59
},
"hsl": {
"h": 68.514,
"s": 60.656,
"l": 52.157
},
"oklch": {
"l": 0.8124,
"c": 0.16752,
"h": 117.4
},
"luminance": 0.55381
}Semantic roles & 50–950 ramp
primary
#BACF3B
secondary
#3D327C
accent
#44E45B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D