#BAB03D#BAB03D

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

Color values

HEX#BAB03D
RGBrgb(186, 176, 61)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 67%, 73%)
CMYKcmyk(0%, 5.4%, 67.2%, 27.1%)
CIE-LABlab(70.75, -10.11, 57.69)
CIE-LCHlch(70.75, 58.57, 99.94°)
OKLaboklab(74.44% -0.0331 0.1296)
OKLCHoklch(74.44% 0.134 104.3)
XYZxyz(36.6188, 41.8281, 10.5587)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB03D #3D47BA
analogous
#BA713D #BAB03D #85BA3D
triadic
#BAB03D #3DBAB0 #B03DBA
tetradic
#BAB03D #3DBA71 #3D47BA #BA3D85
square
#BAB03D #3DBA71 #3D47BA #BA3D85
split-complementary
#BAB03D #3D85BA #713DBA
monochromatic
#5E591F #8C842E #BAB03D #CDC567 #DCD795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB03D#FFFFFF#000000##000000
##BAB03D1.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)
#BFAA2D
Deuteranopia (green-blind)
#C3B044
Tritanopia (blue-blind)
#C8A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bab03d;
/* rgb */ color: rgb(186, 176, 61);
/* oklch */ color: oklch(74.4% 0.134 104.3);
Tailwind
colors: {
  custom: {
    50: '#d2c779',
    500: '#bab03d',
    950: '#000000',
  },
}
SCSS
$custom: #bab03d;
$custom-light: #d2c779;
$custom-dark: #000000;
JSON
{
  "hex": "#bab03d",
  "rgb": {
    "r": 186,
    "g": 176,
    "b": 61
  },
  "hsl": {
    "h": 55.2,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74439,
    "c": 0.13378,
    "h": 104.3
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

primary
#BAB03D
secondary
#8B90C8
accent
#59DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAB03D

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

Preview Lab → · Contrast checker → · Palette generator →

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