#BAB24D#BAB24D

#BAB24D is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.123 H 104.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#BAB24D
RGBrgb(186, 178, 77)
HSLhsl(56, 44%, 52%)
HSVhsv(56, 59%, 73%)
CMYKcmyk(0%, 4.3%, 58.6%, 27.1%)
CIE-LABlab(71.43, -10.10, 51.49)
CIE-LCHlch(71.43, 52.47, 101.10°)
OKLaboklab(75.02% -0.0313 0.1188)
OKLCHoklch(75.02% 0.123 104.8)
XYZxyz(37.5109, 42.8170, 13.3083)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB24D #4D55BA
analogous
#BA7C4D #BAB24D #8CBA4D
triadic
#BAB24D #4DBAB2 #B24DBA
tetradic
#BAB24D #4DBA7C #4D55BA #BA4D8C
square
#BAB24D #4DBA7C #4D55BA #BA4D8C
split-complementary
#BAB24D #4D8CBA #7C4DBA
monochromatic
#656127 #918B38 #BAB24D #CBC579 #DCD8A5

Accessibility & contrast

On white

2.20
#BAB24D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#BAB24D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB24D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB24D#FFFFFF#000000##000000
##BAB24D1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC42
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#C7A79C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bab24d;
/* rgb */ color: rgb(186, 178, 77);
/* oklch */ color: oklch(75.0% 0.123 104.8);
Tailwind
colors: {
  custom: {
    50: '#d1c883',
    500: '#bab24d',
    950: '#000000',
  },
}
SCSS
$custom: #bab24d;
$custom-light: #d1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#bab24d",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 77
  },
  "hsl": {
    "h": 55.596,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.75023,
    "c": 0.12289,
    "h": 104.8
  },
  "luminance": 0.42816
}

Semantic roles & 50–950 ramp

primary
#BAB24D
secondary
#999DC9
accent
#5DD454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB24D

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

Preview Lab → · Contrast checker → · Palette generator →

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