#BAC33F#BAC33F

#BAC33F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 78.6% C 0.152 H 113.2°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#BAC33F
RGBrgb(186, 195, 63)
HSLhsl(64, 52%, 51%)
HSVhsv(64, 68%, 76%)
CMYKcmyk(4.6%, 0%, 67.7%, 23.5%)
CIE-LABlab(75.96, -19.64, 62.20)
CIE-LCHlch(75.96, 65.23, 107.53°)
OKLaboklab(78.6% -0.0597 0.1395)
OKLCHoklch(78.6% 0.152 113.2)
XYZxyz(40.6632, 49.8290, 12.1776)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC33F #483FC3
analogous
#C38A3F #BAC33F #78C33F
triadic
#BAC33F #3FBAC3 #C33FBA
tetradic
#BAC33F #3FC38A #483FC3 #C33F78
square
#BAC33F #3FC38A #483FC3 #C33F78
split-complementary
#BAC33F #3F78C3 #8A3FC3
monochromatic
#626720 #8F962F #BAC33F #CBD26E #DCE09C

Accessibility & contrast

On white

1.92
#BAC33F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#BAC33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC33F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC33F#FFFFFF#000000##000000
##BAC33F1.001.9210.9710.97
#FFFFFF1.921.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2B
Deuteranopia (green-blind)
#D1BD49
Tritanopia (blue-blind)
#C6B8A9
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bac33f;
/* rgb */ color: rgb(186, 195, 63);
/* oklch */ color: oklch(78.6% 0.152 113.2);
Tailwind
colors: {
  custom: {
    50: '#d2d57c',
    500: '#bac33f',
    950: '#000000',
  },
}
SCSS
$custom: #bac33f;
$custom-light: #d2d57c;
$custom-dark: #000000;
JSON
{
  "hex": "#bac33f",
  "rgb": {
    "r": 186,
    "g": 195,
    "b": 63
  },
  "hsl": {
    "h": 64.091,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78604,
    "c": 0.15172,
    "h": 113.2
  },
  "luminance": 0.49828
}

Semantic roles & 50–950 ramp

primary
#BAC33F
secondary
#9692CC
accent
#4CDC56
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #BAC33F

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

Preview Lab → · Contrast checker → · Palette generator →

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