#BAA239#BAA239

#BAA239 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.125 H 96.1°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BAA239
RGBrgb(186, 162, 57)
HSLhsl(49, 53%, 48%)
HSVhsv(49, 69%, 73%)
CMYKcmyk(0%, 12.9%, 69.4%, 27.1%)
CIE-LABlab(66.96, -2.96, 55.45)
CIE-LCHlch(66.96, 55.53, 93.05°)
OKLaboklab(71.42% -0.0132 0.1242)
OKLCHoklch(71.42% 0.125 96.1)
XYZxyz(33.9102, 36.5769, 9.1440)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA239 #3951BA
analogous
#BA6139 #BAA239 #92BA39
triadic
#BAA239 #39BAA2 #A239BA
tetradic
#BAA239 #39BA61 #3951BA #BA3992
square
#BAA239 #39BA61 #3951BA #BA3992
split-complementary
#BAA239 #3992BA #6139BA
monochromatic
#5C501C #8B792B #BAA239 #CFBA61 #DDCF90

Accessibility & contrast

On white

2.53
#BAA239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BAA239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA239
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA239#FFFFFF#000000##000000
##BAA2391.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2B
Deuteranopia (green-blind)
#B8A63F
Tritanopia (blue-blind)
#C9968D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #baa239;
/* rgb */ color: rgb(186, 162, 57);
/* oklch */ color: oklch(71.4% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#d2bd75',
    500: '#baa239',
    950: '#000000',
  },
}
SCSS
$custom: #baa239;
$custom-light: #d2bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#baa239",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 48.837,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.12491,
    "h": 96.1
  },
  "luminance": 0.36575
}

Semantic roles & 50–950 ramp

primary
#BAA239
secondary
#8793C8
accent
#66DC4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA239

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

Preview Lab → · Contrast checker → · Palette generator →

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