#BAA83D#BAA83D

#BAA83D is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.127 H 99.6°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#BAA83D
RGBrgb(186, 168, 61)
HSLhsl(51, 51%, 48%)
HSVhsv(51, 67%, 73%)
CMYKcmyk(0%, 9.7%, 67.2%, 27.1%)
CIE-LABlab(68.59, -5.92, 55.46)
CIE-LCHlch(68.59, 55.78, 96.09°)
OKLaboklab(72.72% -0.0212 0.1249)
OKLCHoklch(72.72% 0.127 99.6)
XYZxyz(35.0962, 38.7829, 10.0512)
Luminance0.3878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA83D #3D4FBA
analogous
#BA693D #BAA83D #8DBA3D
triadic
#BAA83D #3DBAA8 #A83DBA
tetradic
#BAA83D #3DBA69 #3D4FBA #BA3D8D
square
#BAA83D #3DBA69 #3D4FBA #BA3D8D
split-complementary
#BAA83D #3D8DBA #693DBA
monochromatic
#5E551F #8C7E2E #BAA83D #CDBE67 #DCD295

Accessibility & contrast

On white

2.40
#BAA83D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#BAA83D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA83D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA83D#FFFFFF#000000##000000
##BAA83D1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32F
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa83d;
/* rgb */ color: rgb(186, 168, 61);
/* oklch */ color: oklch(72.7% 0.127 99.6);
Tailwind
colors: {
  custom: {
    50: '#d2c178',
    500: '#baa83d',
    950: '#000000',
  },
}
SCSS
$custom: #baa83d;
$custom-light: #d2c178;
$custom-dark: #000000;
JSON
{
  "hex": "#baa83d",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 61
  },
  "hsl": {
    "h": 51.36,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.12671,
    "h": 99.6
  },
  "luminance": 0.38781
}

Semantic roles & 50–950 ramp

primary
#BAA83D
secondary
#8B94C8
accent
#62DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA83D

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

Preview Lab → · Contrast checker → · Palette generator →

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