#BAA13D#BAA13D

#BAA13D is a light, vivid yellow. Relative luminance 0.363; OKLCH L 71.2% C 0.121 H 95.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#BAA13D
RGBrgb(186, 161, 61)
HSLhsl(48, 51%, 48%)
HSVhsv(48, 67%, 73%)
CMYKcmyk(0%, 13.4%, 67.2%, 27.1%)
CIE-LABlab(66.72, -2.19, 53.51)
CIE-LCHlch(66.72, 53.56, 92.35°)
OKLaboklab(71.24% -0.0106 0.1208)
OKLCHoklch(71.24% 0.121 95)
XYZxyz(33.8385, 36.2675, 9.6319)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA13D #3D56BA
analogous
#BA623D #BAA13D #94BA3D
triadic
#BAA13D #3DBAA1 #A13DBA
tetradic
#BAA13D #3DBA62 #3D56BA #BA3D94
square
#BAA13D #3DBA62 #3D56BA #BA3D94
split-complementary
#BAA13D #3D94BA #623DBA
monochromatic
#5E511F #8C792E #BAA13D #CDB967 #DCCE95

Accessibility & contrast

On white

2.54
#BAA13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#BAA13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA13D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA13D#FFFFFF#000000##000000
##BAA13D1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E30
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#C8958C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #baa13d;
/* rgb */ color: rgb(186, 161, 61);
/* oklch */ color: oklch(71.2% 0.121 95.0);
Tailwind
colors: {
  custom: {
    50: '#d2bc78',
    500: '#baa13d',
    950: '#000000',
  },
}
SCSS
$custom: #baa13d;
$custom-light: #d2bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#baa13d",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 48,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.12126,
    "h": 95
  },
  "luminance": 0.36266
}

Semantic roles & 50–950 ramp

primary
#BAA13D
secondary
#8B97C8
accent
#6ADA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA13D

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

Preview Lab → · Contrast checker → · Palette generator →

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