#BAA93D#BAA93D

#BAA93D is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.9% C 0.128 H 100.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BAA93D
RGBrgb(186, 169, 61)
HSLhsl(52, 51%, 48%)
HSVhsv(52, 67%, 73%)
CMYKcmyk(0%, 9.1%, 67.2%, 27.1%)
CIE-LABlab(68.86, -6.45, 55.74)
CIE-LCHlch(68.86, 56.11, 96.60°)
OKLaboklab(72.94% -0.0227 0.1255)
OKLCHoklch(72.94% 0.128 100.3)
XYZxyz(35.2815, 39.1535, 10.1129)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA93D #3D4EBA
analogous
#BA6A3D #BAA93D #8CBA3D
triadic
#BAA93D #3DBAA9 #A93DBA
tetradic
#BAA93D #3DBA6A #3D4EBA #BA3D8C
square
#BAA93D #3DBA6A #3D4EBA #BA3D8C
split-complementary
#BAA93D #3D8CBA #6A3DBA
monochromatic
#5E551F #8C7F2E #BAA93D #CDBF67 #DCD395

Accessibility & contrast

On white

2.38
#BAA93D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#BAA93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA93D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA93D#FFFFFF#000000##000000
##BAA93D1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A42F
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa93d;
/* rgb */ color: rgb(186, 169, 61);
/* oklch */ color: oklch(72.9% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#d2c278',
    500: '#baa93d',
    950: '#000000',
  },
}
SCSS
$custom: #baa93d;
$custom-light: #d2c278;
$custom-dark: #000000;
JSON
{
  "hex": "#baa93d",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 61
  },
  "hsl": {
    "h": 51.84,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.12755,
    "h": 100.3
  },
  "luminance": 0.39152
}

Semantic roles & 50–950 ramp

primary
#BAA93D
secondary
#8B93C8
accent
#61DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA93D

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

Preview Lab → · Contrast checker → · Palette generator →

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