#BAB14B#BAB14B

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

Color values

HEX#BAB14B
RGBrgb(186, 177, 75)
HSLhsl(55, 45%, 51%)
HSVhsv(55, 60%, 73%)
CMYKcmyk(0%, 4.8%, 59.7%, 27.1%)
CIE-LABlab(71.14, -9.73, 52.07)
CIE-LCHlch(71.14, 52.98, 100.58°)
OKLaboklab(74.79% -0.0305 0.1198)
OKLCHoklch(74.79% 0.124 104.3)
XYZxyz(37.2431, 42.3927, 12.8760)
Luminance0.4239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB14B #4B54BA
analogous
#BA794B #BAB14B #8BBA4B
triadic
#BAB14B #4BBAB1 #B14BBA
tetradic
#BAB14B #4BBA79 #4B54BA #BA4B8B
square
#BAB14B #4BBA79 #4B54BA #BA4B8B
split-complementary
#BAB14B #4B8BBA #794BBA
monochromatic
#645F26 #908937 #BAB14B #CBC477 #DCD7A3

Accessibility & contrast

On white

2.22
#BAB14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.48
#BAB14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB14B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB14B#FFFFFF#000000##000000
##BAB14B1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bab14b;
/* rgb */ color: rgb(186, 177, 75);
/* oklch */ color: oklch(74.8% 0.124 104.3);
Tailwind
colors: {
  custom: {
    50: '#d1c881',
    500: '#bab14b',
    950: '#000000',
  },
}
SCSS
$custom: #bab14b;
$custom-light: #d1c881;
$custom-dark: #000000;
JSON
{
  "hex": "#bab14b",
  "rgb": {
    "r": 186,
    "g": 177,
    "b": 75
  },
  "hsl": {
    "h": 55.135,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74786,
    "c": 0.12363,
    "h": 104.3
  },
  "luminance": 0.42391
}

Semantic roles & 50–950 ramp

primary
#BAB14B
secondary
#989CC9
accent
#5ED454
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BAB14B

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

Preview Lab → · Contrast checker → · Palette generator →

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