#BAAA2F#BAAA2F

#BAAA2F is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.0% C 0.138 H 101.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BAAA2F
RGBrgb(186, 170, 47)
HSLhsl(53, 60%, 46%)
HSVhsv(53, 75%, 73%)
CMYKcmyk(0%, 8.6%, 74.7%, 27.1%)
CIE-LABlab(69.04, -7.68, 61.33)
CIE-LCHlch(69.04, 61.81, 97.14°)
OKLaboklab(73.05% -0.0277 0.1348)
OKLCHoklch(73.05% 0.138 101.6)
XYZxyz(35.1391, 39.3954, 8.4419)
Luminance0.3939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA2F #2F3FBA
analogous
#BA652F #BAAA2F #84BA2F
triadic
#BAAA2F #2FBAAA #AA2FBA
tetradic
#BAAA2F #2FBA65 #2F3FBA #BA2F84
square
#BAAA2F #2FBA65 #2F3FBA #BA2F84
split-complementary
#BAAA2F #2F84BA #652FBA
monochromatic
#585116 #897D23 #BAAA2F #D3C553 #E0D584

Accessibility & contrast

On white

2.37
#BAAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BAAA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA2F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA2F#FFFFFF#000000##000000
##BAAA2F1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA517
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#C89E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #baaa2f;
/* rgb */ color: rgb(186, 170, 47);
/* oklch */ color: oklch(73.0% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#d3c271',
    500: '#baaa2f',
    950: '#000000',
  },
}
SCSS
$custom: #baaa2f;
$custom-light: #d3c271;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa2f",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 47
  },
  "hsl": {
    "h": 53.094,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73046,
    "c": 0.13764,
    "h": 101.6
  },
  "luminance": 0.39394
}

Semantic roles & 50–950 ramp

primary
#BAAA2F
secondary
#7C85C9
accent
#57E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BAAA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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