#BAC02E#BAC02E

#BAC02E is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.159 H 112.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#BAC02E
RGBrgb(186, 192, 46)
HSLhsl(62, 61%, 47%)
HSVhsv(62, 76%, 75%)
CMYKcmyk(3.1%, 0%, 76%, 24.7%)
CIE-LABlab(75.04, -18.98, 67.24)
CIE-LCHlch(75.04, 69.87, 105.76°)
OKLaboklab(77.83% -0.0594 0.1472)
OKLCHoklch(77.83% 0.159 112)
XYZxyz(39.5938, 48.3366, 9.8284)
Luminance0.4834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC02E #342EC0
analogous
#C07D2E #BAC02E #71C02E
triadic
#BAC02E #2EBAC0 #C02EBA
tetradic
#BAC02E #2EC07D #342EC0 #C02E71
square
#BAC02E #2EC07D #342EC0 #C02E71
split-complementary
#BAC02E #2E71C0 #7D2EC0
monochromatic
#5A5D16 #8A8F22 #BAC02E #D1D655 #DEE286

Accessibility & contrast

On white

1.97
#BAC02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#BAC02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC02E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC02E#FFFFFF#000000##000000
##BAC02E1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB705
Deuteranopia (green-blind)
#D0BA3B
Tritanopia (blue-blind)
#C7B4A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac02e;
/* rgb */ color: rgb(186, 192, 46);
/* oklch */ color: oklch(77.8% 0.159 112.0);
Tailwind
colors: {
  custom: {
    50: '#d3d273',
    500: '#bac02e',
    950: '#000000',
  },
}
SCSS
$custom: #bac02e;
$custom-light: #d3d273;
$custom-dark: #000000;
JSON
{
  "hex": "#bac02e",
  "rgb": {
    "r": 186,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 62.466,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77829,
    "c": 0.15874,
    "h": 112
  },
  "luminance": 0.48336
}

Semantic roles & 50–950 ramp

primary
#BAC02E
secondary
#817ECC
accent
#43E44A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151409
muted
#83827B

Preview Lab

Preview with #BAC02E

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

Preview Lab → · Contrast checker → · Palette generator →

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