#BAB93D#BAB93D

#BAB93D 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#BAB93D
RGBrgb(186, 185, 61)
HSLhsl(60, 51%, 48%)
HSVhsv(60, 67%, 73%)
CMYKcmyk(0%, 0.5%, 67.2%, 27.1%)
CIE-LABlab(73.20, -14.73, 60.18)
CIE-LCHlch(73.20, 61.96, 103.75°)
OKLaboklab(76.39% -0.0462 0.1349)
OKLCHoklch(76.39% 0.143 108.9)
XYZxyz(38.4423, 45.4751, 11.1665)
Luminance0.4547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93D #3D3EBA
analogous
#BA7A3D #BAB93D #7CBA3D
triadic
#BAB93D #3DBAB9 #B93DBA
tetradic
#BAB93D #3DBA7A #3D3EBA #BA3D7C
square
#BAB93D #3DBA7A #3D3EBA #BA3D7C
split-complementary
#BAB93D #3D7CBA #7A3DBA
monochromatic
#5E5D1F #8C8B2E #BAB93D #CDCC67 #DCDC95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB93D#FFFFFF#000000##000000
##BAB93D1.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)
#C8B12B
Deuteranopia (green-blind)
#C9B645
Tritanopia (blue-blind)
#C7ADA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bab93d;
/* rgb */ color: rgb(186, 185, 61);
/* oklch */ color: oklch(76.4% 0.143 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd7a',
    500: '#bab93d',
    950: '#000000',
  },
}
SCSS
$custom: #bab93d;
$custom-light: #d2cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93d",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 61
  },
  "hsl": {
    "h": 59.52,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.76393,
    "c": 0.14257,
    "h": 108.9
  },
  "luminance": 0.45474
}

Semantic roles & 50–950 ramp

primary
#BAB93D
secondary
#8B8CC8
accent
#4FDA4E
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB93D

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

Preview Lab → · Contrast checker → · Palette generator →

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