#BAC125#BAC125

#BAC125 is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.0% C 0.164 H 112.4°. Best body text is #000000 at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#BAC125
RGBrgb(186, 193, 37)
HSLhsl(63, 68%, 45%)
HSVhsv(63, 81%, 76%)
CMYKcmyk(3.6%, 0%, 80.8%, 24.3%)
CIE-LABlab(75.27, -19.80, 70.04)
CIE-LCHlch(75.27, 72.79, 105.79°)
OKLaboklab(78.01% -0.0624 0.1516)
OKLCHoklch(78.01% 0.164 112.4)
XYZxyz(39.6550, 48.7136, 9.0636)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC125 #2C25C1
analogous
#C17A25 #BAC125 #6CC125
triadic
#BAC125 #25BAC1 #C125BA
tetradic
#BAC125 #25C17A #2C25C1 #C1256C
square
#BAC125 #25C17A #2C25C1 #C1256C
split-complementary
#BAC125 #256CC1 #7A25C1
monochromatic
#575A11 #898E1B #BAC125 #D5DC47 #E1E67B

Accessibility & contrast

On white

1.95
#BAC125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.74
#BAC125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAC125
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAC125#FFFFFF#000000##000000
##BAC1251.001.9510.7410.74
#FFFFFF1.951.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#D1BB35
Tritanopia (blue-blind)
#C7B5A5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bac125;
/* rgb */ color: rgb(186, 193, 37);
/* oklch */ color: oklch(78.0% 0.164 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d36f',
    500: '#bac125',
    950: '#000000',
  },
}
SCSS
$custom: #bac125;
$custom-light: #d3d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac125",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 37
  },
  "hsl": {
    "h": 62.692,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.78006,
    "c": 0.16392,
    "h": 112.4
  },
  "luminance": 0.48713
}

Semantic roles & 50–950 ramp

primary
#BAC125
secondary
#7874CE
accent
#3DEB45
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BAC125

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

Preview Lab → · Contrast checker → · Palette generator →

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