#A89840#A89840

#A89840 is a light, moderate yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.110 H 99.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#A89840
RGBrgb(168, 152, 64)
HSLhsl(51, 45%, 45%)
HSVhsv(51, 62%, 66%)
CMYKcmyk(0%, 9.5%, 61.9%, 34.1%)
CIE-LABlab(62.64, -5.06, 47.28)
CIE-LCHlch(62.64, 47.55, 96.11°)
OKLaboklab(67.62% -0.0173 0.1085)
OKLCHoklch(67.62% 0.11 99.1)
XYZxyz(28.3032, 31.1527, 9.3717)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A89840 #4050A8
analogous
#A86440 #A89840 #84A840
triadic
#A89840 #40A898 #9840A8
tetradic
#A89840 #40A864 #4050A8 #A84084
square
#A89840 #40A864 #4050A8 #A84084
split-complementary
#A89840 #4084A8 #6440A8
monochromatic
#4F481E #7C702F #A89840 #C3B462 #D4C98E

Accessibility & contrast

On white

2.90
#A89840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#A89840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A89840
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A89840#FFFFFF#000000##000000
##A898401.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69436
Deuteranopia (green-blind)
#AA9A44
Tritanopia (blue-blind)
#B48E85
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a89840;
/* rgb */ color: rgb(168, 152, 64);
/* oklch */ color: oklch(67.6% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#c5b678',
    500: '#a89840',
    950: '#000000',
  },
}
SCSS
$custom: #a89840;
$custom-light: #c5b678;
$custom-dark: #000000;
JSON
{
  "hex": "#a89840",
  "rgb": {
    "r": 168,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 50.769,
    "s": 44.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67618,
    "c": 0.10991,
    "h": 99.1
  },
  "luminance": 0.31151
}

Semantic roles & 50–950 ramp

primary
#A89840
secondary
#858EBF
accent
#67D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A89840

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

Preview Lab → · Contrast checker → · Palette generator →

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