#BAB14E#BAB14E

#BAB14E is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.121 H 104.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#BAB14E
RGBrgb(186, 177, 78)
HSLhsl(55, 44%, 52%)
HSVhsv(55, 58%, 73%)
CMYKcmyk(0%, 4.8%, 58.1%, 27.1%)
CIE-LABlab(71.17, -9.51, 50.74)
CIE-LCHlch(71.17, 51.62, 100.61°)
OKLaboklab(74.82% -0.0295 0.1174)
OKLCHoklch(74.82% 0.121 104.1)
XYZxyz(37.3482, 42.4347, 13.4296)
Luminance0.4243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB14E #4E57BA
analogous
#BA7B4E #BAB14E #8DBA4E
triadic
#BAB14E #4EBAB1 #B14EBA
tetradic
#BAB14E #4EBA7B #4E57BA #BA4E8D
square
#BAB14E #4EBA7B #4E57BA #BA4E8D
split-complementary
#BAB14E #4E8DBA #7B4EBA
monochromatic
#666128 #928A39 #BAB14E #CBC47A #DCD8A6

Accessibility & contrast

On white

2.21
#BAB14E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#BAB14E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB14E
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB14E#FFFFFF#000000##000000
##BAB14E1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB44
Deuteranopia (green-blind)
#C2B053
Tritanopia (blue-blind)
#C7A69B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bab14e;
/* rgb */ color: rgb(186, 177, 78);
/* oklch */ color: oklch(74.8% 0.121 104.1);
Tailwind
colors: {
  custom: {
    50: '#d1c883',
    500: '#bab14e',
    950: '#000000',
  },
}
SCSS
$custom: #bab14e;
$custom-light: #d1c883;
$custom-dark: #000000;
JSON
{
  "hex": "#bab14e",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 78
  },
  "hsl": {
    "h": 55,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.121,
    "h": 104.1
  },
  "luminance": 0.42433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAB14E

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

Preview Lab → · Contrast checker → · Palette generator →

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