#A89940#A89940

#A89940 is a light, moderate yellow. Relative luminance 0.315; OKLCH L 67.8% C 0.111 H 99.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#A89940
RGBrgb(168, 153, 64)
HSLhsl(51, 45%, 45%)
HSVhsv(51, 62%, 66%)
CMYKcmyk(0%, 8.9%, 61.9%, 34.1%)
CIE-LABlab(62.91, -5.60, 47.58)
CIE-LCHlch(62.91, 47.90, 96.71°)
OKLaboklab(67.84% -0.0188 0.1092)
OKLCHoklch(67.84% 0.111 99.8)
XYZxyz(28.4662, 31.4787, 9.4260)
Luminance0.3148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89940 #404FA8
analogous
#A86540 #A89940 #83A840
triadic
#A89940 #40A899 #9940A8
tetradic
#A89940 #40A865 #404FA8 #A84083
square
#A89940 #40A865 #404FA8 #A84083
split-complementary
#A89940 #4083A8 #6540A8
monochromatic
#4F481E #7C712F #A89940 #C3B562 #D4CA8E

Accessibility & contrast

On white

2.88
#A89940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#A89940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89940
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89940#FFFFFF#000000##000000
##A899401.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79536
Deuteranopia (green-blind)
#AB9B45
Tritanopia (blue-blind)
#B48F86
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a89940;
/* rgb */ color: rgb(168, 153, 64);
/* oklch */ color: oklch(67.8% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#c5b678',
    500: '#a89940',
    950: '#000000',
  },
}
SCSS
$custom: #a89940;
$custom-light: #c5b678;
$custom-dark: #000000;
JSON
{
  "hex": "#a89940",
  "rgb": {
    "r": 168,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 51.346,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.11079,
    "h": 99.8
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#A89940
secondary
#858DBF
accent
#66D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A89940

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

Preview Lab → · Contrast checker → · Palette generator →

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