#BAA83F#BAA83F

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

Color values

HEX#BAA83F
RGBrgb(186, 168, 63)
HSLhsl(51, 49%, 49%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 9.7%, 66.1%, 27.1%)
CIE-LABlab(68.61, -5.80, 54.63)
CIE-LCHlch(68.61, 54.94, 96.06°)
OKLaboklab(72.74% -0.0207 0.1235)
OKLCHoklch(72.74% 0.125 99.5)
XYZxyz(35.1511, 38.8048, 10.3402)
Luminance0.3880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA83F #3F51BA
analogous
#BA6B3F #BAA83F #8FBA3F
triadic
#BAA83F #3FBAA8 #A83FBA
tetradic
#BAA83F #3FBA6B #3F51BA #BA3F8F
square
#BAA83F #3FBA6B #3F51BA #BA3F8F
split-complementary
#BAA83F #3F8FBA #6B3FBA
monochromatic
#5F5520 #8C7F30 #BAA83F #CCBE6A #DCD297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA83F#FFFFFF#000000##000000
##BAA83F1.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)
#B8A432
Deuteranopia (green-blind)
#BDAA45
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa83f;
/* rgb */ color: rgb(186, 168, 63);
/* oklch */ color: oklch(72.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#d2c179',
    500: '#baa83f',
    950: '#000000',
  },
}
SCSS
$custom: #baa83f;
$custom-light: #d2c179;
$custom-dark: #000000;
JSON
{
  "hex": "#baa83f",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 63
  },
  "hsl": {
    "h": 51.22,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72743,
    "c": 0.1252,
    "h": 99.5
  },
  "luminance": 0.38803
}

Semantic roles & 50–950 ramp

primary
#BAA83F
secondary
#8D96C8
accent
#63D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA83F

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

Preview Lab → · Contrast checker → · Palette generator →

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