#A99840#A99840

#A99840 is a light, moderate yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.110 H 98.4°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#A99840
RGBrgb(169, 152, 64)
HSLhsl(50, 45%, 46%)
HSVhsv(50, 62%, 66%)
CMYKcmyk(0%, 10.1%, 62.1%, 33.7%)
CIE-LABlab(62.73, -4.62, 47.40)
CIE-LCHlch(62.73, 47.63, 95.57°)
OKLaboklab(67.71% -0.0161 0.1088)
OKLCHoklch(67.71% 0.11 98.4)
XYZxyz(28.5170, 31.2629, 9.3817)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A99840 #4051A9
analogous
#A96440 #A99840 #85A940
triadic
#A99840 #40A998 #9840A9
tetradic
#A99840 #40A964 #4051A9 #A94085
square
#A99840 #40A964 #4051A9 #A94085
split-complementary
#A99840 #4085A9 #6440A9
monochromatic
#50481E #7D702F #A99840 #C4B462 #D5C98F

Accessibility & contrast

On white

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

On black

7.25
#A99840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A99840
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A99840#FFFFFF#000000##000000
##A998401.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a99840;
/* rgb */ color: rgb(169, 152, 64);
/* oklch */ color: oklch(67.7% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#c5b678',
    500: '#a99840',
    950: '#000000',
  },
}
SCSS
$custom: #a99840;
$custom-light: #c5b678;
$custom-dark: #000000;
JSON
{
  "hex": "#a99840",
  "rgb": {
    "r": 169,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 50.286,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.67713,
    "c": 0.10997,
    "h": 98.4
  },
  "luminance": 0.31262
}

Semantic roles & 50–950 ramp

primary
#A99840
secondary
#858FC0
accent
#68D553
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A99840

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

Preview Lab → · Contrast checker → · Palette generator →

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