#BAC23F#BAC23F

#BAC23F is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.4% C 0.151 H 112.8°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#BAC23F
RGBrgb(186, 194, 63)
HSLhsl(64, 52%, 50%)
HSVhsv(64, 68%, 76%)
CMYKcmyk(4.1%, 0%, 67.5%, 23.9%)
CIE-LABlab(75.69, -19.15, 61.92)
CIE-LCHlch(75.69, 64.81, 107.18°)
OKLaboklab(78.38% -0.0583 0.1389)
OKLCHoklch(78.38% 0.151 112.8)
XYZxyz(40.4399, 49.3824, 12.1031)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23F #473FC2
analogous
#C2883F #BAC23F #78C23F
triadic
#BAC23F #3FBAC2 #C23FBA
tetradic
#BAC23F #3FC288 #473FC2 #C23F78
square
#BAC23F #3FC288 #473FC2 #C23F78
split-complementary
#BAC23F #3F78C2 #883FC2
monochromatic
#626620 #8E952F #BAC23F #CBD16D #DBE09C

Accessibility & contrast

On white

1.93
#BAC23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#BAC23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC23F
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC23F#FFFFFF#000000##000000
##BAC23F1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92B
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#C6B7A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bac23f;
/* rgb */ color: rgb(186, 194, 63);
/* oklch */ color: oklch(78.4% 0.151 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47c',
    500: '#bac23f',
    950: '#000000',
  },
}
SCSS
$custom: #bac23f;
$custom-light: #d2d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23f",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 63.664,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78383,
    "c": 0.15063,
    "h": 112.8
  },
  "luminance": 0.49382
}

Semantic roles & 50–950 ramp

primary
#BAC23F
secondary
#9591CC
accent
#4DDB55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC23F

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

Preview Lab → · Contrast checker → · Palette generator →

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