#BAAA79#BAAA79

#BAAA79 is a light, moderate yellow. Relative luminance 0.406; OKLCH L 74.0% C 0.068 H 92.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#BAAA79
RGBrgb(186, 170, 121)
HSLhsl(45, 32%, 60%)
HSVhsv(45, 35%, 73%)
CMYKcmyk(0%, 8.6%, 34.9%, 27.1%)
CIE-LABlab(69.87, -1.56, 27.40)
CIE-LCHlch(69.87, 27.44, 93.25°)
OKLaboklab(73.98% -0.0025 0.0682)
OKLCHoklch(73.98% 0.068 92.1)
XYZxyz(38.0762, 40.5702, 23.9106)
Luminance0.4057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA79 #7989BA
analogous
#BA8979 #BAAA79 #A9BA79
triadic
#BAAA79 #79BAAA #AA79BA
tetradic
#BAAA79 #79BA89 #7989BA #BA79A9
square
#BAAA79 #79BA89 #7989BA #BA79A9
split-complementary
#BAAA79 #79A9BA #8979BA
monochromatic
#7A6B3F #A28F54 #BAAA79 #CFC4A1 #E4DDCA

Accessibility & contrast

On white

2.30
#BAAA79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#BAAA79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA79
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA79#FFFFFF#000000##000000
##BAAA791.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A876
Deuteranopia (green-blind)
#B9AD7B
Tritanopia (blue-blind)
#C4A39D
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #baaa79;
/* rgb */ color: rgb(186, 170, 121);
/* oklch */ color: oklch(74.0% 0.068 92.1);
Tailwind
colors: {
  custom: {
    50: '#cfc3a0',
    500: '#baaa79',
    950: '#000000',
  },
}
SCSS
$custom: #baaa79;
$custom-light: #cfc3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa79",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 121
  },
  "hsl": {
    "h": 45.231,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7398,
    "c": 0.06827,
    "h": 92.1
  },
  "luminance": 0.40569
}

Semantic roles & 50–950 ramp

primary
#BAAA79
secondary
#BBC1D4
accent
#56AB3B
background
#FCFBF9
surface
#F9F7F2
border
#D2D0CC
text
#14120E
muted
#82817E

Preview Lab

Preview with #BAAA79

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

Preview Lab → · Contrast checker → · Palette generator →

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