#BAC233#BAC233
#BAC233 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.3% C 0.158 H 112.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BAC233 |
|---|---|
| RGB | rgb(186, 194, 51) |
| HSL | hsl(63, 58%, 48%) |
| HSV | hsv(63, 74%, 76%) |
| CMYK | cmyk(4.1%, 0%, 73.7%, 23.9%) |
| CIE-LAB | lab(75.61, -19.76, 66.17) |
| CIE-LCH | lch(75.61, 69.05, 106.63°) |
| OKLab | oklab(78.3% -0.0612 0.1458) |
| OKLCH | oklch(78.3% 0.158 112.8) |
| XYZ | xyz(40.1403, 49.2626, 10.5255) |
| Luminance | 0.4926 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Bile
#B5C306
ΔE00 2.33
Baby Puke Green
#B6C406
ΔE00 2.39
Snot
#ACBB0D
ΔE00 2.95
Puke Yellow
#C2BE0E
ΔE00 3.81
Mustard Green
#A8B504
ΔE00 4.12
Pea
#A4BF20
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAC233 #3B33C2
analogous
#C28333 #BAC233 #72C233
triadic
#BAC233 #33BAC2 #C233BA
tetradic
#BAC233 #33C283 #3B33C2 #C23372
square
#BAC233 #33C283 #3B33C2 #C23372
split-complementary
#BAC233 #3372C2 #8333C2
monochromatic
#5D611A #8C9226 #BAC233 #CED55E #DDE18E
Accessibility & contrast
On white
1.94
#BAC233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.85
#BAC233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAC233
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAC233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAC233 | 1.00 | 1.94 | 10.85 | 10.85 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1B914
Deuteranopia (green-blind)
#D1BC3F
Tritanopia (blue-blind)
#C7B6A7
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bac233; /* rgb */ color: rgb(186, 194, 51); /* oklch */ color: oklch(78.3% 0.158 112.8);
Tailwind
colors: {
custom: {
50: '#d2d475',
500: '#bac233',
950: '#000000',
},
}SCSS
$custom: #bac233; $custom-light: #d2d475; $custom-dark: #000000;
JSON
{
"hex": "#bac233",
"rgb": {
"r": 186,
"g": 194,
"b": 51
},
"hsl": {
"h": 63.357,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.783,
"c": 0.15812,
"h": 112.8
},
"luminance": 0.49262
}Semantic roles & 50–950 ramp
primary
#BAC233
secondary
#8985CC
accent
#46E24F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B