#BAA93F#BAA93F

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

Color values

HEX#BAA93F
RGBrgb(186, 169, 63)
HSLhsl(52, 49%, 49%)
HSVhsv(52, 66%, 73%)
CMYKcmyk(0%, 9.1%, 66.1%, 27.1%)
CIE-LABlab(68.88, -6.33, 54.91)
CIE-LCHlch(68.88, 55.28, 96.57°)
OKLaboklab(72.96% -0.0222 0.1241)
OKLCHoklch(72.96% 0.126 100.1)
XYZxyz(35.3364, 39.1755, 10.4020)
Luminance0.3917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA93F #3F50BA
analogous
#BA6C3F #BAA93F #8EBA3F
triadic
#BAA93F #3FBAA9 #A93FBA
tetradic
#BAA93F #3FBA6C #3F50BA #BA3F8E
square
#BAA93F #3FBA6C #3F50BA #BA3F8E
split-complementary
#BAA93F #3F8EBA #6C3FBA
monochromatic
#5F5620 #8C7F30 #BAA93F #CCBF6A #DCD297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA93F#FFFFFF#000000##000000
##BAA93F1.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)
#B8A431
Deuteranopia (green-blind)
#BDAB45
Tritanopia (blue-blind)
#C89D93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baa93f;
/* rgb */ color: rgb(186, 169, 63);
/* oklch */ color: oklch(73.0% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#d2c279',
    500: '#baa93f',
    950: '#000000',
  },
}
SCSS
$custom: #baa93f;
$custom-light: #d2c279;
$custom-dark: #000000;
JSON
{
  "hex": "#baa93f",
  "rgb": {
    "r": 186,
    "g": 169,
    "b": 63
  },
  "hsl": {
    "h": 51.707,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72956,
    "c": 0.12605,
    "h": 100.1
  },
  "luminance": 0.39174
}

Semantic roles & 50–950 ramp

primary
#BAA93F
secondary
#8D95C8
accent
#62D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA93F

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

Preview Lab → · Contrast checker → · Palette generator →

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