#BAA54E#BAA54E

#BAA54E is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.110 H 95.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BAA54E
RGBrgb(186, 165, 78)
HSLhsl(48, 44%, 52%)
HSVhsv(48, 58%, 73%)
CMYKcmyk(0%, 11.3%, 58.1%, 27.1%)
CIE-LABlab(67.95, -3.18, 47.09)
CIE-LCHlch(67.95, 47.19, 93.87°)
OKLaboklab(72.26% -0.0114 0.1095)
OKLCHoklch(72.26% 0.11 95.9)
XYZxyz(35.0814, 37.9010, 12.6740)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA54E #4E63BA
analogous
#BA6F4E #BAA54E #99BA4E
triadic
#BAA54E #4EBAA5 #A54EBA
tetradic
#BAA54E #4EBA6F #4E63BA #BA4E99
square
#BAA54E #4EBA6F #4E63BA #BA4E99
split-complementary
#BAA54E #4E99BA #6F4EBA
monochromatic
#665A28 #928139 #BAA54E #CBBB7A #DCD2A6

Accessibility & contrast

On white

2.45
#BAA54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#BAA54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA54E
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA54E#FFFFFF#000000##000000
##BAA54E1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A245
Deuteranopia (green-blind)
#B9A952
Tritanopia (blue-blind)
#C79A92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #baa54e;
/* rgb */ color: rgb(186, 165, 78);
/* oklch */ color: oklch(72.3% 0.110 95.9);
Tailwind
colors: {
  custom: {
    50: '#d1bf82',
    500: '#baa54e',
    950: '#000000',
  },
}
SCSS
$custom: #baa54e;
$custom-light: #d1bf82;
$custom-dark: #000000;
JSON
{
  "hex": "#baa54e",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 78
  },
  "hsl": {
    "h": 48.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72263,
    "c": 0.1101,
    "h": 95.9
  },
  "luminance": 0.37899
}

Semantic roles & 50–950 ramp

primary
#BAA54E
secondary
#9AA3CA
accent
#6DD454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAA54E

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

Preview Lab → · Contrast checker → · Palette generator →

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