#BAA33B#BAA33B

#BAA33B is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.6% C 0.124 H 96.6°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#BAA33B
RGBrgb(186, 163, 59)
HSLhsl(49, 52%, 48%)
HSVhsv(49, 68%, 73%)
CMYKcmyk(0%, 12.4%, 68.3%, 27.1%)
CIE-LABlab(67.24, -3.38, 54.90)
CIE-LCHlch(67.24, 55.01, 93.52°)
OKLaboklab(71.65% -0.0142 0.1234)
OKLCHoklch(71.65% 0.124 96.6)
XYZxyz(34.1379, 36.9510, 9.4709)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA33B #3B52BA
analogous
#BA633B #BAA33B #91BA3B
triadic
#BAA33B #3BBAA3 #A33BBA
tetradic
#BAA33B #3BBA63 #3B52BA #BA3B91
square
#BAA33B #3BBA63 #3B52BA #BA3B91
split-complementary
#BAA33B #3B91BA #633BBA
monochromatic
#5D521E #8C7A2C #BAA33B #CEBB64 #DDCF93

Accessibility & contrast

On white

2.50
#BAA33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#BAA33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA33B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA33B#FFFFFF#000000##000000
##BAA33B1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2D
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#C8978E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #baa33b;
/* rgb */ color: rgb(186, 163, 59);
/* oklch */ color: oklch(71.6% 0.124 96.6);
Tailwind
colors: {
  custom: {
    50: '#d2bd77',
    500: '#baa33b',
    950: '#000000',
  },
}
SCSS
$custom: #baa33b;
$custom-light: #d2bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#baa33b",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 59
  },
  "hsl": {
    "h": 49.134,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71648,
    "c": 0.12421,
    "h": 96.6
  },
  "luminance": 0.36949
}

Semantic roles & 50–950 ramp

primary
#BAA33B
secondary
#8994C8
accent
#66DB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BAA33B

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

Preview Lab → · Contrast checker → · Palette generator →

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