#BAB93C#BAB93C

#BAB93C is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.143 H 108.9°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#BAB93C
RGBrgb(186, 185, 60)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 68%, 73%)
CMYKcmyk(0%, 0.5%, 67.7%, 27.1%)
CIE-LABlab(73.20, -14.79, 60.57)
CIE-LCHlch(73.20, 62.34, 103.72°)
OKLaboklab(76.39% -0.0464 0.1355)
OKLCHoklch(76.39% 0.143 108.9)
XYZxyz(38.4156, 45.4644, 11.0260)
Luminance0.4546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93C #3C3DBA
analogous
#BA7A3C #BAB93C #7CBA3C
triadic
#BAB93C #3CBAB9 #B93CBA
tetradic
#BAB93C #3CBA7A #3C3DBA #BA3C7C
square
#BAB93C #3CBA7A #3C3DBA #BA3C7C
split-complementary
#BAB93C #3C7CBA #7A3CBA
monochromatic
#5D5D1E #8C8B2D #BAB93C #CECD66 #DCDC94

Accessibility & contrast

On white

2.08
#BAB93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#BAB93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB93C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB93C#FFFFFF#000000##000000
##BAB93C1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B129
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab93c;
/* rgb */ color: rgb(186, 185, 60);
/* oklch */ color: oklch(76.4% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd79',
    500: '#bab93c',
    950: '#000000',
  },
}
SCSS
$custom: #bab93c;
$custom-light: #d2cd79;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93c",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 60
  },
  "hsl": {
    "h": 59.524,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.76385,
    "c": 0.14326,
    "h": 108.9
  },
  "luminance": 0.45463
}

Semantic roles & 50–950 ramp

primary
#BAB93C
secondary
#8A8BC8
accent
#4EDB4D
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB93C

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

Preview Lab → · Contrast checker → · Palette generator →

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