#BAB92C#BAB92C

#BAB92C is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.3% C 0.153 H 109.1°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#BAB92C
RGBrgb(186, 185, 44)
HSLhsl(60, 62%, 45%)
HSVhsv(60, 76%, 73%)
CMYKcmyk(0%, 0.5%, 76.3%, 27.1%)
CIE-LABlab(73.10, -15.54, 66.10)
CIE-LCHlch(73.10, 67.90, 103.23°)
OKLaboklab(76.28% -0.05 0.1444)
OKLCHoklch(76.28% 0.153 109.1)
XYZxyz(38.0547, 45.3201, 9.1255)
Luminance0.4532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB92C #2C2DBA
analogous
#BA722C #BAB92C #74BA2C
triadic
#BAB92C #2CBAB9 #B92CBA
tetradic
#BAB92C #2CBA72 #2C2DBA #BA2C74
square
#BAB92C #2CBA72 #2C2DBA #BA2C74
split-complementary
#BAB92C #2C74BA #722CBA
monochromatic
#575715 #898820 #BAB92C #D5D44E #E1E080

Accessibility & contrast

On white

2.09
#BAB92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#BAB92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB92C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB92C#FFFFFF#000000##000000
##BAB92C1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B104
Deuteranopia (green-blind)
#CAB638
Tritanopia (blue-blind)
#C8AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bab92c;
/* rgb */ color: rgb(186, 185, 44);
/* oklch */ color: oklch(76.3% 0.153 109.1);
Tailwind
colors: {
  custom: {
    50: '#d3cd71',
    500: '#bab92c',
    950: '#000000',
  },
}
SCSS
$custom: #bab92c;
$custom-light: #d3cd71;
$custom-dark: #000000;
JSON
{
  "hex": "#bab92c",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 44
  },
  "hsl": {
    "h": 59.577,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76279,
    "c": 0.15282,
    "h": 109.1
  },
  "luminance": 0.45319
}

Semantic roles & 50–950 ramp

primary
#BAB92C
secondary
#7879CA
accent
#44E543
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BAB92C

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

Preview Lab → · Contrast checker → · Palette generator →

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