#BAB24E#BAB24E

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

Color values

HEX#BAB24E
RGBrgb(186, 178, 78)
HSLhsl(56, 44%, 52%)
HSVhsv(56, 58%, 73%)
CMYKcmyk(0%, 4.3%, 58.1%, 27.1%)
CIE-LABlab(71.44, -10.03, 51.04)
CIE-LCHlch(71.44, 52.02, 101.11°)
OKLaboklab(75.03% -0.031 0.118)
OKLCHoklch(75.03% 0.122 104.7)
XYZxyz(37.5465, 42.8312, 13.4957)
Luminance0.4283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB24E #4E56BA
analogous
#BA7C4E #BAB24E #8CBA4E
triadic
#BAB24E #4EBAB2 #B24EBA
tetradic
#BAB24E #4EBA7C #4E56BA #BA4E8C
square
#BAB24E #4EBA7C #4E56BA #BA4E8C
split-complementary
#BAB24E #4E8CBA #7C4EBA
monochromatic
#666128 #928B39 #BAB24E #CBC57A #DCD8A6

Accessibility & contrast

On white

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

On black

9.57
#BAB24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB24E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB24E#FFFFFF#000000##000000
##BAB24E1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab24e;
/* rgb */ color: rgb(186, 178, 78);
/* oklch */ color: oklch(75.0% 0.122 104.7);
Tailwind
colors: {
  custom: {
    50: '#d1c883',
    500: '#bab24e',
    950: '#000000',
  },
}
SCSS
$custom: #bab24e;
$custom-light: #d1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#bab24e",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 78
  },
  "hsl": {
    "h": 55.556,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.122,
    "h": 104.7
  },
  "luminance": 0.4283
}

Semantic roles & 50–950 ramp

primary
#BAB24E
secondary
#9A9ECA
accent
#5ED454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB24E

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

Preview Lab → · Contrast checker → · Palette generator →

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