#BAAA4E#BAAA4E

#BAAA4E is a light, moderate yellow. Relative luminance 0.397; OKLCH L 73.3% C 0.114 H 99.6°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BAAA4E
RGBrgb(186, 170, 78)
HSLhsl(51, 44%, 52%)
HSVhsv(51, 58%, 73%)
CMYKcmyk(0%, 8.6%, 58.1%, 27.1%)
CIE-LABlab(69.28, -5.84, 48.61)
CIE-LCHlch(69.28, 48.96, 96.85°)
OKLaboklab(73.32% -0.019 0.1128)
OKLCHoklch(73.32% 0.114 99.6)
XYZxyz(36.0009, 39.7401, 12.9805)
Luminance0.3974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAA4E #4E5EBA
analogous
#BA744E #BAAA4E #94BA4E
triadic
#BAAA4E #4EBAAA #AA4EBA
tetradic
#BAAA4E #4EBA74 #4E5EBA #BA4E94
square
#BAAA4E #4EBA74 #4E5EBA #BA4E94
split-complementary
#BAAA4E #4E94BA #744EBA
monochromatic
#665D28 #928539 #BAAA4E #CBBF7A #DCD4A6

Accessibility & contrast

On white

2.35
#BAAA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#BAAA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAA4E
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAA4E#FFFFFF#000000##000000
##BAAA4E1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A645
Deuteranopia (green-blind)
#BDAC52
Tritanopia (blue-blind)
#C79F96
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #baaa4e;
/* rgb */ color: rgb(186, 170, 78);
/* oklch */ color: oklch(73.3% 0.114 99.6);
Tailwind
colors: {
  custom: {
    50: '#d1c383',
    500: '#baaa4e',
    950: '#000000',
  },
}
SCSS
$custom: #baaa4e;
$custom-light: #d1c383;
$custom-dark: #000000;
JSON
{
  "hex": "#baaa4e",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 78
  },
  "hsl": {
    "h": 51.111,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.73322,
    "c": 0.11438,
    "h": 99.6
  },
  "luminance": 0.39739
}

Semantic roles & 50–950 ramp

primary
#BAAA4E
secondary
#9AA1CA
accent
#67D454
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BAAA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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