#BAA83B#BAA83B

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

Color values

HEX#BAA83B
RGBrgb(186, 168, 59)
HSLhsl(51, 52%, 48%)
HSVhsv(51, 68%, 73%)
CMYKcmyk(0%, 9.7%, 68.3%, 27.1%)
CIE-LABlab(68.58, -6.03, 56.28)
CIE-LCHlch(68.58, 56.60, 96.12°)
OKLaboklab(72.71% -0.0218 0.1263)
OKLCHoklch(72.71% 0.128 99.8)
XYZxyz(35.0433, 38.7617, 9.7727)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA83B #3B4DBA
analogous
#BA683B #BAA83B #8CBA3B
triadic
#BAA83B #3BBAA8 #A83BBA
tetradic
#BAA83B #3BBA68 #3B4DBA #BA3B8C
square
#BAA83B #3BBA68 #3B4DBA #BA3B8C
split-complementary
#BAA83B #3B8CBA #683BBA
monochromatic
#5D541E #8C7E2C #BAA83B #CEBF64 #DDD293

Accessibility & contrast

On white

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

On black

8.75
#BAA83B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA83B
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA83B#FFFFFF#000000##000000
##BAA83B1.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa83b;
/* rgb */ color: rgb(186, 168, 59);
/* oklch */ color: oklch(72.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#d2c177',
    500: '#baa83b',
    950: '#000000',
  },
}
SCSS
$custom: #baa83b;
$custom-light: #d2c177;
$custom-dark: #000000;
JSON
{
  "hex": "#baa83b",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 59
  },
  "hsl": {
    "h": 51.496,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.12817,
    "h": 99.8
  },
  "luminance": 0.3876
}

Semantic roles & 50–950 ramp

primary
#BAA83B
secondary
#8992C8
accent
#61DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA83B

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

Preview Lab → · Contrast checker → · Palette generator →

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