#BAA03F#BAA03F

#BAA03F is a light, moderate yellow. Relative luminance 0.359; OKLCH L 71.1% C 0.119 H 94.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#BAA03F
RGBrgb(186, 160, 63)
HSLhsl(47, 49%, 49%)
HSVhsv(47, 66%, 73%)
CMYKcmyk(0%, 14%, 66.1%, 27.1%)
CIE-LABlab(66.48, -1.54, 52.38)
CIE-LCHlch(66.48, 52.40, 91.68°)
OKLaboklab(71.05% -0.0085 0.1187)
OKLCHoklch(71.05% 0.119 94.1)
XYZxyz(33.7193, 35.9414, 9.8630)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA03F #3F59BA
analogous
#BA633F #BAA03F #97BA3F
triadic
#BAA03F #3FBAA0 #A03FBA
tetradic
#BAA03F #3FBA63 #3F59BA #BA3F97
square
#BAA03F #3FBA63 #3F59BA #BA3F97
split-complementary
#BAA03F #3F97BA #633FBA
monochromatic
#5F5120 #8C7930 #BAA03F #CCB86A #DCCD97

Accessibility & contrast

On white

2.56
#BAA03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#BAA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA03F
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA03F#FFFFFF#000000##000000
##BAA03F1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D33
Deuteranopia (green-blind)
#B7A544
Tritanopia (blue-blind)
#C8948C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa03f;
/* rgb */ color: rgb(186, 160, 63);
/* oklch */ color: oklch(71.1% 0.119 94.1);
Tailwind
colors: {
  custom: {
    50: '#d2bb79',
    500: '#baa03f',
    950: '#000000',
  },
}
SCSS
$custom: #baa03f;
$custom-light: #d2bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#baa03f",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 47.317,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71053,
    "c": 0.11902,
    "h": 94.1
  },
  "luminance": 0.3594
}

Semantic roles & 50–950 ramp

primary
#BAA03F
secondary
#8D9AC8
accent
#6CD94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BAA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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