#BAB03A#BAB03A

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

Color values

HEX#BAB03A
RGBrgb(186, 176, 58)
HSLhsl(55, 52%, 48%)
HSVhsv(55, 69%, 73%)
CMYKcmyk(0%, 5.4%, 68.8%, 27.1%)
CIE-LABlab(70.73, -10.27, 58.87)
CIE-LCHlch(70.73, 59.76, 99.90°)
OKLaboklab(74.41% -0.0339 0.1316)
OKLCHoklch(74.41% 0.136 104.4)
XYZxyz(36.5402, 41.7967, 10.1450)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB03A #3A44BA
analogous
#BA703A #BAB03A #84BA3A
triadic
#BAB03A #3ABAB0 #B03ABA
tetradic
#BAB03A #3ABA70 #3A44BA #BA3A84
square
#BAB03A #3ABA70 #3A44BA #BA3A84
split-complementary
#BAB03A #3A84BA #703ABA
monochromatic
#5D581D #8B842B #BAB03A #CEC663 #DDD792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB03A#FFFFFF#000000##000000
##BAB03A1.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)
#BFAA29
Deuteranopia (green-blind)
#C3B042
Tritanopia (blue-blind)
#C8A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab03a;
/* rgb */ color: rgb(186, 176, 58);
/* oklch */ color: oklch(74.4% 0.136 104.4);
Tailwind
colors: {
  custom: {
    50: '#d2c777',
    500: '#bab03a',
    950: '#000000',
  },
}
SCSS
$custom: #bab03a;
$custom-light: #d2c777;
$custom-dark: #000000;
JSON
{
  "hex": "#bab03a",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 55.313,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74415,
    "c": 0.1359,
    "h": 104.4
  },
  "luminance": 0.41795
}

Semantic roles & 50–950 ramp

primary
#BAB03A
secondary
#888DC8
accent
#57DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB03A

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

Preview Lab → · Contrast checker → · Palette generator →

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