#BAC23E#BAC23E

#BAC23E 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.87:1 contrast (WCAG AA passes).

Color values

HEX#BAC23E
RGBrgb(186, 194, 62)
HSLhsl(64, 52%, 50%)
HSVhsv(64, 68%, 76%)
CMYKcmyk(4.1%, 0%, 68%, 23.9%)
CIE-LABlab(75.68, -19.20, 62.30)
CIE-LCHlch(75.68, 65.19, 107.13°)
OKLaboklab(78.38% -0.0586 0.1395)
OKLCHoklch(78.38% 0.151 112.8)
XYZxyz(40.4122, 49.3714, 11.9573)
Luminance0.4937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC23E #463EC2
analogous
#C2883E #BAC23E #78C23E
triadic
#BAC23E #3EBAC2 #C23EBA
tetradic
#BAC23E #3EC288 #463EC2 #C23E78
square
#BAC23E #3EC288 #463EC2 #C23E78
split-complementary
#BAC23E #3E78C2 #883EC2
monochromatic
#616620 #8E942F #BAC23E #CBD16D #DBDF9B

Accessibility & contrast

On white

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

On black

10.87
#BAC23E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC23E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC23E#FFFFFF#000000##000000
##BAC23E1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac23e;
/* rgb */ color: rgb(186, 194, 62);
/* oklch */ color: oklch(78.4% 0.151 112.8);
Tailwind
colors: {
  custom: {
    50: '#d2d47b',
    500: '#bac23e',
    950: '#000000',
  },
}
SCSS
$custom: #bac23e;
$custom-light: #d2d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#bac23e",
  "rgb": {
    "r": 186,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 63.636,
    "s": 51.969,
    "l": 50.196
  },
  "oklch": {
    "l": 0.78376,
    "c": 0.15131,
    "h": 112.8
  },
  "luminance": 0.4937
}

Semantic roles & 50–950 ramp

primary
#BAC23E
secondary
#9490CB
accent
#4CDB55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #BAC23E

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

Preview Lab → · Contrast checker → · Palette generator →

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