#BAAA57#BAAA57

#BAAA57 is a light, moderate yellow. Relative luminance 0.399; OKLCH L 73.4% C 0.106 H 98.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BAAA57
RGBrgb(186, 170, 87)
HSLhsl(50, 42%, 54%)
HSVhsv(50, 53%, 73%)
CMYKcmyk(0%, 8.6%, 53.2%, 27.1%)
CIE-LABlab(69.38, -5.11, 44.38)
CIE-LCHlch(69.38, 44.68, 96.57°)
OKLaboklab(73.43% -0.0159 0.1046)
OKLCHoklch(73.43% 0.106 98.6)
XYZxyz(36.3459, 39.8781, 14.7977)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA57 #5767BA
analogous
#BA7857 #BAAA57 #98BA57
triadic
#BAAA57 #57BAAA #AA57BA
tetradic
#BAAA57 #57BA78 #5767BA #BA5798
square
#BAAA57 #57BA78 #5767BA #BA5798
split-complementary
#BAAA57 #5798BA #7857BA
monochromatic
#6B612C #96883E #BAAA57 #CCC082 #DED6AE

Accessibility & contrast

On white

2.34
#BAAA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#BAAA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA57
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA57#FFFFFF#000000##000000
##BAAA571.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64F
Deuteranopia (green-blind)
#BCAC5B
Tritanopia (blue-blind)
#C7A097
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa57;
/* rgb */ color: rgb(186, 170, 87);
/* oklch */ color: oklch(73.4% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#d1c388',
    500: '#baaa57',
    950: '#000000',
  },
}
SCSS
$custom: #baaa57;
$custom-light: #d1c388;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa57",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 87
  },
  "hsl": {
    "h": 50.303,
    "s": 41.772,
    "l": 53.529
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.10584,
    "h": 98.6
  },
  "luminance": 0.39877
}

Semantic roles & 50–950 ramp

primary
#BAAA57
secondary
#A1A8CC
accent
#6AD256
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BAAA57

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

Preview Lab → · Contrast checker → · Palette generator →

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