#BACF3B#BACF3B

#BACF3B is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.2% C 0.168 H 117.4°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#BACF3B
RGBrgb(186, 207, 59)
HSLhsl(69, 61%, 52%)
HSVhsv(69, 71%, 81%)
CMYKcmyk(10.1%, 0%, 71.5%, 18.8%)
CIE-LABlab(79.26, -25.72, 66.93)
CIE-LCHlch(79.26, 71.70, 111.02°)
OKLaboklab(81.24% -0.077 0.1488)
OKLCHoklch(81.24% 0.168 117.4)
XYZxyz(43.3529, 55.3810, 12.5426)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACF3B #503BCF
analogous
#CF9A3B #BACF3B #70CF3B
triadic
#BACF3B #3BBACF #CF3BBA
tetradic
#BACF3B #3BCF9A #503BCF #CF3B70
square
#BACF3B #3BCF9A #503BCF #CF3B70
split-complementary
#BACF3B #3B70CF #9A3BCF
monochromatic
#67731C #93A528 #BACF3B #CBDB6C #DDE79D

Accessibility & contrast

On white

1.74
#BACF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#BACF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACF3B
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACF3B#FFFFFF#000000##000000
##BACF3B1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC420
Deuteranopia (green-blind)
#DBC547
Tritanopia (blue-blind)
#C5C3B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #bacf3b;
/* rgb */ color: rgb(186, 207, 59);
/* oklch */ color: oklch(81.2% 0.168 117.4);
Tailwind
colors: {
  custom: {
    50: '#d2dd7b',
    500: '#bacf3b',
    950: '#000000',
  },
}
SCSS
$custom: #bacf3b;
$custom-light: #d2dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bacf3b",
  "rgb": {
    "r": 186,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 68.514,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.8124,
    "c": 0.16752,
    "h": 117.4
  },
  "luminance": 0.55381
}

Semantic roles & 50–950 ramp

primary
#BACF3B
secondary
#3D327C
accent
#44E45B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #BACF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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