#BAAA3E#BAAA3E

#BAAA3E is a light, vivid yellow. Relative luminance 0.395; OKLCH L 73.2% C 0.128 H 100.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BAAA3E
RGBrgb(186, 170, 62)
HSLhsl(52, 50%, 49%)
HSVhsv(52, 67%, 73%)
CMYKcmyk(0%, 8.6%, 66.7%, 27.1%)
CIE-LABlab(69.14, -6.91, 55.61)
CIE-LCHlch(69.14, 56.04, 97.09°)
OKLaboklab(73.16% -0.0239 0.1254)
OKLCHoklch(73.16% 0.128 100.8)
XYZxyz(35.4954, 39.5379, 10.3184)
Luminance0.3954 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA3E #3E4EBA
analogous
#BA6C3E #BAAA3E #8CBA3E
triadic
#BAAA3E #3EBAAA #AA3EBA
tetradic
#BAAA3E #3EBA6C #3E4EBA #BA3E8C
square
#BAAA3E #3EBA6C #3E4EBA #BA3E8C
split-complementary
#BAAA3E #3E8CBA #6C3EBA
monochromatic
#5E561F #8C802F #BAAA3E #CDC068 #DCD396

Accessibility & contrast

On white

2.36
#BAAA3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BAAA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA3E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA3E#FFFFFF#000000##000000
##BAAA3E1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A530
Deuteranopia (green-blind)
#BEAC44
Tritanopia (blue-blind)
#C89E94
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa3e;
/* rgb */ color: rgb(186, 170, 62);
/* oklch */ color: oklch(73.2% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#d2c379',
    500: '#baaa3e',
    950: '#000000',
  },
}
SCSS
$custom: #baaa3e;
$custom-light: #d2c379;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa3e",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 62
  },
  "hsl": {
    "h": 52.258,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.7316,
    "c": 0.12766,
    "h": 100.8
  },
  "luminance": 0.39536
}

Semantic roles & 50–950 ramp

primary
#BAAA3E
secondary
#8C94C8
accent
#60DA4E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #BAAA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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