#BAC22F#BAC22F

#BAC22F is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.3% C 0.160 H 112.8°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#BAC22F
RGBrgb(186, 194, 47)
HSLhsl(63, 61%, 47%)
HSVhsv(63, 76%, 76%)
CMYKcmyk(4.1%, 0%, 75.8%, 23.9%)
CIE-LABlab(75.59, -19.93, 67.44)
CIE-LCHlch(75.59, 70.33, 106.46°)
OKLaboklab(78.28% -0.062 0.1478)
OKLCHoklch(78.28% 0.16 112.8)
XYZxyz(40.0559, 49.2288, 10.0808)
Luminance0.4923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC22F #372FC2
analogous
#C2802F #BAC22F #71C22F
triadic
#BAC22F #2FBAC2 #C22FBA
tetradic
#BAC22F #2FC280 #372FC2 #C22F71
square
#BAC22F #2FC280 #372FC2 #C22F71
split-complementary
#BAC22F #2F71C2 #802FC2
monochromatic
#5C5F17 #8B9123 #BAC22F #D0D658 #DEE289

Accessibility & contrast

On white

1.94
#BAC22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#BAC22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC22F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC22F#FFFFFF#000000##000000
##BAC22F1.001.9410.8510.85
#FFFFFF1.941.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B907
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C7B6A7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac22f;
/* rgb */ color: rgb(186, 194, 47);
/* oklch */ color: oklch(78.3% 0.160 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d474',
    500: '#bac22f',
    950: '#000000',
  },
}
SCSS
$custom: #bac22f;
$custom-light: #d2d474;
$custom-dark: #000000;
JSON
{
  "hex": "#bac22f",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 63.265,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.78277,
    "c": 0.16028,
    "h": 112.8
  },
  "luminance": 0.49228
}

Semantic roles & 50–950 ramp

primary
#BAC22F
secondary
#8581CC
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC22F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BAC22F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva