#BAC124#BAC124

#BAC124 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#BAC124
RGBrgb(186, 193, 36)
HSLhsl(63, 69%, 45%)
HSVhsv(63, 81%, 76%)
CMYKcmyk(3.6%, 0%, 81.3%, 24.3%)
CIE-LABlab(75.27, -19.84, 70.30)
CIE-LCHlch(75.27, 73.04, 105.76°)
OKLaboklab(78% -0.0626 0.152)
OKLCHoklch(78% 0.164 112.4)
XYZxyz(39.6395, 48.7074, 8.9821)
Luminance0.4871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAC124 #2B24C1
analogous
#C17924 #BAC124 #6CC124
triadic
#BAC124 #24BAC1 #C124BA
tetradic
#BAC124 #24C179 #2B24C1 #C1246C
square
#BAC124 #24C179 #2B24C1 #C1246C
split-complementary
#BAC124 #246CC1 #7924C1
monochromatic
#575A11 #888D1A #BAC124 #D6DC46 #E1E679

Accessibility & contrast

On white

1.96
#BAC124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAC124#FFFFFF#000000##000000
##BAC1241.001.9610.7410.74
#FFFFFF1.961.0021.0021.00
#00000010.7421.001.001.00
##00000010.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bac124;
/* rgb */ color: rgb(186, 193, 36);
/* oklch */ color: oklch(78.0% 0.164 112.4);
Tailwind
colors: {
  custom: {
    50: '#d3d36f',
    500: '#bac124',
    950: '#000000',
  },
}
SCSS
$custom: #bac124;
$custom-light: #d3d36f;
$custom-dark: #000000;
JSON
{
  "hex": "#bac124",
  "rgb": {
    "r": 186,
    "g": 193,
    "b": 36
  },
  "hsl": {
    "h": 62.675,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.78002,
    "c": 0.16433,
    "h": 112.4
  },
  "luminance": 0.48706
}

Semantic roles & 50–950 ramp

primary
#BAC124
secondary
#7773CE
accent
#3CEB44
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151408
muted
#83827B

Preview Lab

Preview with #BAC124

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

Preview Lab → · Contrast checker → · Palette generator →

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