#BAC93F#BAC93F

#BAC93F is a light, vivid yellow. Relative luminance 0.526; OKLCH L 79.9% C 0.158 H 115.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#BAC93F
RGBrgb(186, 201, 63)
HSLhsl(67, 56%, 52%)
HSVhsv(67, 69%, 79%)
CMYKcmyk(7.5%, 0%, 68.7%, 21.2%)
CIE-LABlab(77.62, -22.60, 63.87)
CIE-LCHlch(77.62, 67.75, 109.49°)
OKLaboklab(79.93% -0.068 0.143)
OKLCHoklch(79.93% 0.158 115.4)
XYZxyz(42.0346, 52.5719, 12.6347)
Luminance0.5257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC93F #4E3FC9
analogous
#C9933F #BAC93F #75C93F
triadic
#BAC93F #3FBAC9 #C93FBA
tetradic
#BAC93F #3FC993 #4E3FC9 #C93F75
square
#BAC93F #3FC993 #4E3FC9 #C93F75
split-complementary
#BAC93F #3F75C9 #933FC9
monochromatic
#666F1F #929E2D #BAC93F #CBD66F #DCE49F

Accessibility & contrast

On white

1.82
#BAC93F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.51
#BAC93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC93F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC93F#FFFFFF#000000##000000
##BAC93F1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF29
Deuteranopia (green-blind)
#D6C149
Tritanopia (blue-blind)
#C6BEAE
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #bac93f;
/* rgb */ color: rgb(186, 201, 63);
/* oklch */ color: oklch(79.9% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#d2d97c',
    500: '#bac93f',
    950: '#000000',
  },
}
SCSS
$custom: #bac93f;
$custom-light: #d2d97c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac93f",
  "rgb": {
    "r": 186,
    "g": 201,
    "b": 63
  },
  "hsl": {
    "h": 66.522,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79932,
    "c": 0.1583,
    "h": 115.4
  },
  "luminance": 0.52571
}

Semantic roles & 50–950 ramp

primary
#BAC93F
secondary
#3C3478
accent
#48DF59
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BAC93F

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

Preview Lab → · Contrast checker → · Palette generator →

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