#BAC762#BAC762

#BAC762 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.8% C 0.127 H 115.4°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#BAC762
RGBrgb(186, 199, 98)
HSLhsl(68, 47%, 58%)
HSVhsv(68, 51%, 78%)
CMYKcmyk(6.5%, 0%, 50.8%, 22%)
CIE-LABlab(77.38, -19.03, 48.53)
CIE-LCHlch(77.38, 52.13, 111.41°)
OKLaboklab(79.84% -0.0545 0.1147)
OKLCHoklch(79.84% 0.127 115.4)
XYZxyz(42.8784, 52.1683, 19.3636)
Luminance0.5217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC762 #6F62C7
analogous
#C7A162 #BAC762 #87C762
triadic
#BAC762 #62BAC7 #C762BA
tetradic
#BAC762 #62C7A1 #6F62C7 #C76287
square
#BAC762 #62C7A1 #6F62C7 #C76287
split-complementary
#BAC762 #6287C7 #A162C7
monochromatic
#76812E #9FAE3E #BAC762 #CED78F #E2E7BC

Accessibility & contrast

On white

1.84
#BAC762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#BAC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC762
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC762#FFFFFF#000000##000000
##BAC7621.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D2C068
Tritanopia (blue-blind)
#C4BDB0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bac762;
/* rgb */ color: rgb(186, 199, 98);
/* oklch */ color: oklch(79.8% 0.127 115.4);
Tailwind
colors: {
  custom: {
    50: '#d1d791',
    500: '#bac762',
    950: '#000000',
  },
}
SCSS
$custom: #bac762;
$custom-light: #d1d791;
$custom-dark: #000000;
JSON
{
  "hex": "#bac762",
  "rgb": {
    "r": 186,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 67.723,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7984,
    "c": 0.12698,
    "h": 115.4
  },
  "luminance": 0.52168
}

Semantic roles & 50–950 ramp

primary
#BAC762
secondary
#4D4589
accent
#51D762
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#14140D
muted
#83837F

Preview Lab

Preview with #BAC762

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

Preview Lab → · Contrast checker → · Palette generator →

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