#BAA83E#BAA83E

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

Color values

HEX#BAA83E
RGBrgb(186, 168, 62)
HSLhsl(51, 50%, 49%)
HSVhsv(51, 67%, 73%)
CMYKcmyk(0%, 9.7%, 66.7%, 27.1%)
CIE-LABlab(68.60, -5.86, 55.05)
CIE-LCHlch(68.60, 55.36, 96.08°)
OKLaboklab(72.73% -0.0209 0.1242)
OKLCHoklch(72.73% 0.126 99.6)
XYZxyz(35.1234, 38.7938, 10.1944)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA83E #3E50BA
analogous
#BA6A3E #BAA83E #8EBA3E
triadic
#BAA83E #3EBAA8 #A83EBA
tetradic
#BAA83E #3EBA6A #3E50BA #BA3E8E
square
#BAA83E #3EBA6A #3E50BA #BA3E8E
split-complementary
#BAA83E #3E8EBA #6A3EBA
monochromatic
#5E551F #8C7F2F #BAA83E #CDBE68 #DCD296

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAA83E#FFFFFF#000000##000000
##BAA83E1.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)
#B8A430
Deuteranopia (green-blind)
#BDAA44
Tritanopia (blue-blind)
#C89C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #baa83e;
/* rgb */ color: rgb(186, 168, 62);
/* oklch */ color: oklch(72.7% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#d2c179',
    500: '#baa83e',
    950: '#000000',
  },
}
SCSS
$custom: #baa83e;
$custom-light: #d2c179;
$custom-dark: #000000;
JSON
{
  "hex": "#baa83e",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 62
  },
  "hsl": {
    "h": 51.29,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72734,
    "c": 0.12596,
    "h": 99.6
  },
  "luminance": 0.38792
}

Semantic roles & 50–950 ramp

primary
#BAA83E
secondary
#8C95C8
accent
#62DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAA83E

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

Preview Lab → · Contrast checker → · Palette generator →

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