#BAB93F#BAB93F

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

Color values

HEX#BAB93F
RGBrgb(186, 185, 63)
HSLhsl(60, 49%, 49%)
HSVhsv(60, 66%, 73%)
CMYKcmyk(0%, 0.5%, 66.1%, 27.1%)
CIE-LABlab(73.22, -14.62, 59.41)
CIE-LCHlch(73.22, 61.18, 103.82°)
OKLaboklab(76.41% -0.0456 0.1336)
OKLCHoklch(76.41% 0.141 108.9)
XYZxyz(38.4972, 45.4970, 11.4556)
Luminance0.4550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB93F #3F40BA
analogous
#BA7C3F #BAB93F #7EBA3F
triadic
#BAB93F #3FBAB9 #B93FBA
tetradic
#BAB93F #3FBA7C #3F40BA #BA3F7E
square
#BAB93F #3FBA7C #3F40BA #BA3F7E
split-complementary
#BAB93F #3F7EBA #7C3FBA
monochromatic
#5F5E20 #8C8C30 #BAB93F #CCCC6A #DCDB97

Accessibility & contrast

On white

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

On black

10.10
#BAB93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB93F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB93F#FFFFFF#000000##000000
##BAB93F1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab93f;
/* rgb */ color: rgb(186, 185, 63);
/* oklch */ color: oklch(76.4% 0.141 108.9);
Tailwind
colors: {
  custom: {
    50: '#d2cd7b',
    500: '#bab93f',
    950: '#000000',
  },
}
SCSS
$custom: #bab93f;
$custom-light: #d2cd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#bab93f",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 63
  },
  "hsl": {
    "h": 59.512,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.76409,
    "c": 0.14116,
    "h": 108.9
  },
  "luminance": 0.45496
}

Semantic roles & 50–950 ramp

primary
#BAB93F
secondary
#8D8EC8
accent
#50D94F
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAB93F

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

Preview Lab → · Contrast checker → · Palette generator →

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