#BAB03E#BAB03E

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

Color values

HEX#BAB03E
RGBrgb(186, 176, 62)
HSLhsl(55, 50%, 49%)
HSVhsv(55, 67%, 73%)
CMYKcmyk(0%, 5.4%, 66.7%, 27.1%)
CIE-LABlab(70.76, -10.05, 57.29)
CIE-LCHlch(70.76, 58.16, 99.95°)
OKLaboklab(74.45% -0.0328 0.1289)
OKLCHoklch(74.45% 0.133 104.3)
XYZxyz(36.6460, 41.8390, 10.7019)
Luminance0.4184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB03E #3E48BA
analogous
#BA723E #BAB03E #86BA3E
triadic
#BAB03E #3EBAB0 #B03EBA
tetradic
#BAB03E #3EBA72 #3E48BA #BA3E86
square
#BAB03E #3EBA72 #3E48BA #BA3E86
split-complementary
#BAB03E #3E86BA #723EBA
monochromatic
#5E591F #8C852F #BAB03E #CDC568 #DCD696

Accessibility & contrast

On white

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

On black

9.37
#BAB03E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB03E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB03E#FFFFFF#000000##000000
##BAB03E1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab03e;
/* rgb */ color: rgb(186, 176, 62);
/* oklch */ color: oklch(74.4% 0.133 104.3);
Tailwind
colors: {
  custom: {
    50: '#d2c779',
    500: '#bab03e',
    950: '#000000',
  },
}
SCSS
$custom: #bab03e;
$custom-light: #d2c779;
$custom-dark: #000000;
JSON
{
  "hex": "#bab03e",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 62
  },
  "hsl": {
    "h": 55.161,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.74448,
    "c": 0.13306,
    "h": 104.3
  },
  "luminance": 0.41838
}

Semantic roles & 50–950 ramp

primary
#BAB03E
secondary
#8C91C8
accent
#5ADA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB03E

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

Preview Lab → · Contrast checker → · Palette generator →

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