#BAB039#BAB039

#BAB039 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.137 H 104.5°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BAB039
RGBrgb(186, 176, 57)
HSLhsl(55, 53%, 48%)
HSVhsv(55, 69%, 73%)
CMYKcmyk(0%, 5.4%, 69.4%, 27.1%)
CIE-LABlab(70.72, -10.33, 59.25)
CIE-LCHlch(70.72, 60.14, 99.89°)
OKLaboklab(74.41% -0.0342 0.1322)
OKLCHoklch(74.41% 0.137 104.5)
XYZxyz(36.5150, 41.7866, 10.0123)
Luminance0.4178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB039 #3943BA
analogous
#BA7039 #BAB039 #83BA39
triadic
#BAB039 #39BAB0 #B039BA
tetradic
#BAB039 #39BA70 #3943BA #BA3983
square
#BAB039 #39BA70 #3943BA #BA3983
split-complementary
#BAB039 #3983BA #7039BA
monochromatic
#5C571C #8B842B #BAB039 #CFC661 #DDD790

Accessibility & contrast

On white

2.24
#BAB039 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#BAB039 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB039
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB039#FFFFFF#000000##000000
##BAB0391.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA27
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab039;
/* rgb */ color: rgb(186, 176, 57);
/* oklch */ color: oklch(74.4% 0.137 104.5);
Tailwind
colors: {
  custom: {
    50: '#d2c777',
    500: '#bab039',
    950: '#000000',
  },
}
SCSS
$custom: #bab039;
$custom-light: #d2c777;
$custom-dark: #000000;
JSON
{
  "hex": "#bab039",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 57
  },
  "hsl": {
    "h": 55.349,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.13658,
    "h": 104.5
  },
  "luminance": 0.41785
}

Semantic roles & 50–950 ramp

primary
#BAB039
secondary
#878CC8
accent
#57DC4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB039

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

Preview Lab → · Contrast checker → · Palette generator →

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