#BACB3F#BACB3F

#BACB3F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.4% C 0.161 H 116.1°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#BACB3F
RGBrgb(186, 203, 63)
HSLhsl(67, 57%, 52%)
HSVhsv(67, 69%, 80%)
CMYKcmyk(8.4%, 0%, 69%, 20.4%)
CIE-LABlab(78.18, -23.57, 64.42)
CIE-LCHlch(78.18, 68.60, 110.10°)
OKLaboklab(80.38% -0.0707 0.1441)
OKLCHoklch(80.38% 0.161 116.1)
XYZxyz(42.5039, 53.5105, 12.7911)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BACB3F #503FCB
analogous
#CB963F #BACB3F #74CB3F
triadic
#BACB3F #3FBACB #CB3FBA
tetradic
#BACB3F #3FCB96 #503FCB #CB3F74
square
#BACB3F #3FCB96 #503FCB #CB3F74
split-complementary
#BACB3F #3F74CB #963FCB
monochromatic
#67711F #93A12C #BACB3F #CBD86F #DDE59F

Accessibility & contrast

On white

1.79
#BACB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#BACB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BACB3F
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BACB3F#FFFFFF#000000##000000
##BACB3F1.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C128
Deuteranopia (green-blind)
#D7C24A
Tritanopia (blue-blind)
#C6C0AF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #bacb3f;
/* rgb */ color: rgb(186, 203, 63);
/* oklch */ color: oklch(80.4% 0.161 116.1);
Tailwind
colors: {
  custom: {
    50: '#d2da7c',
    500: '#bacb3f',
    950: '#000000',
  },
}
SCSS
$custom: #bacb3f;
$custom-light: #d2da7c;
$custom-dark: #000000;
JSON
{
  "hex": "#bacb3f",
  "rgb": {
    "r": 186,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 67.286,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.80377,
    "c": 0.16054,
    "h": 116.1
  },
  "luminance": 0.5351
}

Semantic roles & 50–950 ramp

primary
#BACB3F
secondary
#3D347A
accent
#47E15A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #BACB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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