#BAC333#BAC333
#BAC333 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 78.5% C 0.159 H 113.1°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC333 |
|---|---|
| RGB | rgb(186, 195, 51) |
| HSL | hsl(64, 59%, 48%) |
| HSV | hsv(64, 74%, 76%) |
| CMYK | cmyk(4.6%, 0%, 73.8%, 23.5%) |
| CIE-LAB | lab(75.89, -20.25, 66.43) |
| CIE-LCH | lch(75.89, 69.45, 106.96°) |
| OKLab | oklab(78.52% -0.0625 0.1464) |
| OKLCH | oklch(78.52% 0.159 113.1) |
| XYZ | xyz(40.3636, 49.7092, 10.5999) |
| Luminance | 0.4971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.23
Baby Puke Green
#B6C406
ΔE00 2.26
Snot
#ACBB0D
ΔE00 3.00
Puke Yellow
#C2BE0E
ΔE00 4.00
Green Yellow
#B5CE08
ΔE00 4.18
Pea
#A4BF20
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC333 #3C33C3
analogous
#C38433 #BAC333 #72C333
triadic
#BAC333 #33BAC3 #C333BA
tetradic
#BAC333 #33C384 #3C33C3 #C33372
square
#BAC333 #33C384 #3C33C3 #C33372
split-complementary
#BAC333 #3372C3 #8433C3
monochromatic
#5D621A #8C9226 #BAC333 #CED55E #DCE28F
Accessibility & contrast
On white
1.92
#BAC333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.94
#BAC333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC333
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC333 | 1.00 | 1.92 | 10.94 | 10.94 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA13
Deuteranopia (green-blind)
#D2BD3F
Tritanopia (blue-blind)
#C7B7A8
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bac333; /* rgb */ color: rgb(186, 195, 51); /* oklch */ color: oklch(78.5% 0.159 113.1);
Tailwind
colors: {
custom: {
50: '#d2d576',
500: '#bac333',
950: '#000000',
},
}SCSS
$custom: #bac333; $custom-light: #d2d576; $custom-dark: #000000;
JSON
{
"hex": "#bac333",
"rgb": {
"r": 186,
"g": 195,
"b": 51
},
"hsl": {
"h": 63.75,
"s": 58.537,
"l": 48.235
},
"oklch": {
"l": 0.78521,
"c": 0.15916,
"h": 113.1
},
"luminance": 0.49708
}Semantic roles & 50–950 ramp
primary
#BAC333
secondary
#8A86CC
accent
#46E250
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#151409
muted
#83837B