#BAA02E#BAA02E

#BAA02E is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.131 H 95.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#BAA02E
RGBrgb(186, 160, 46)
HSLhsl(49, 60%, 45%)
HSVhsv(49, 75%, 73%)
CMYKcmyk(0%, 14%, 75.3%, 27.1%)
CIE-LABlab(66.35, -2.42, 59.15)
CIE-LCHlch(66.35, 59.20, 92.35°)
OKLaboklab(70.91% -0.0129 0.13)
OKLCHoklch(70.91% 0.131 95.7)
XYZxyz(33.3154, 35.7798, 7.7356)
Luminance0.3578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA02E #2E48BA
analogous
#BA5A2E #BAA02E #8EBA2E
triadic
#BAA02E #2EBAA0 #A02EBA
tetradic
#BAA02E #2EBA5A #2E48BA #BA2E8E
square
#BAA02E #2EBA5A #2E48BA #BA2E8E
split-complementary
#BAA02E #2E8EBA #5A2EBA
monochromatic
#584C16 #897622 #BAA02E #D4BC51 #E0CF82

Accessibility & contrast

On white

2.57
#BAA02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#BAA02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA02E
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA02E#FFFFFF#000000##000000
##BAA02E1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#C9938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #baa02e;
/* rgb */ color: rgb(186, 160, 46);
/* oklch */ color: oklch(70.9% 0.131 95.7);
Tailwind
colors: {
  custom: {
    50: '#d3bb6f',
    500: '#baa02e',
    950: '#000000',
  },
}
SCSS
$custom: #baa02e;
$custom-light: #d3bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#baa02e",
  "rgb": {
    "r": 186,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 48.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70915,
    "c": 0.13063,
    "h": 95.7
  },
  "luminance": 0.35778
}

Semantic roles & 50–950 ramp

primary
#BAA02E
secondary
#7B89C9
accent
#62E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BAA02E

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

Preview Lab → · Contrast checker → · Palette generator →

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