#BAA03D#BAA03D

#BAA03D is a light, vivid yellow. Relative luminance 0.359; OKLCH L 71.0% C 0.121 H 94.3°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BAA03D
RGBrgb(186, 160, 61)
HSLhsl(48, 51%, 48%)
HSVhsv(48, 67%, 73%)
CMYKcmyk(0%, 14%, 67.2%, 27.1%)
CIE-LABlab(66.46, -1.66, 53.23)
CIE-LCHlch(66.46, 53.26, 91.79°)
OKLaboklab(71.03% -0.009 0.1202)
OKLCHoklch(71.03% 0.121 94.3)
XYZxyz(33.6644, 35.9194, 9.5739)
Luminance0.3592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA03D #3D57BA
analogous
#BA613D #BAA03D #95BA3D
triadic
#BAA03D #3DBAA0 #A03DBA
tetradic
#BAA03D #3DBA61 #3D57BA #BA3D95
square
#BAA03D #3DBA61 #3D57BA #BA3D95
split-complementary
#BAA03D #3D95BA #613DBA
monochromatic
#5E511F #8C782E #BAA03D #CDB867 #DCCD95

Accessibility & contrast

On white

2.57
#BAA03D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BAA03D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA03D
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA03D#FFFFFF#000000##000000
##BAA03D1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D31
Deuteranopia (green-blind)
#B7A542
Tritanopia (blue-blind)
#C9948B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa03d;
/* rgb */ color: rgb(186, 160, 61);
/* oklch */ color: oklch(71.0% 0.121 94.3);
Tailwind
colors: {
  custom: {
    50: '#d2bb77',
    500: '#baa03d',
    950: '#000000',
  },
}
SCSS
$custom: #baa03d;
$custom-light: #d2bb77;
$custom-dark: #000000;
JSON
{
  "hex": "#baa03d",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 61
  },
  "hsl": {
    "h": 47.52,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71034,
    "c": 0.12055,
    "h": 94.3
  },
  "luminance": 0.35918
}

Semantic roles & 50–950 ramp

primary
#BAA03D
secondary
#8B98C8
accent
#6BDA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BAA03D

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

Preview Lab → · Contrast checker → · Palette generator →

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