#A59842#A59842

#A59842 is a light, moderate yellow. Relative luminance 0.308; OKLCH L 67.4% C 0.108 H 100.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A59842
RGBrgb(165, 152, 66)
HSLhsl(52, 43%, 45%)
HSVhsv(52, 60%, 65%)
CMYKcmyk(0%, 7.9%, 60%, 35.3%)
CIE-LABlab(62.38, -6.23, 45.98)
CIE-LCHlch(62.38, 46.40, 97.72°)
OKLaboklab(67.36% -0.0202 0.1061)
OKLCHoklch(67.36% 0.108 100.8)
XYZxyz(27.7297, 30.8503, 9.6472)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A59842 #424FA5
analogous
#A56642 #A59842 #80A542
triadic
#A59842 #42A598 #9842A5
tetradic
#A59842 #42A566 #424FA5 #A54280
square
#A59842 #42A566 #424FA5 #A54280
split-complementary
#A59842 #4280A5 #6642A5
monochromatic
#4E471F #797031 #A59842 #C1B563 #D2C98F

Accessibility & contrast

On white

2.93
#A59842 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#A59842 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A59842
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A59842#FFFFFF#000000##000000
##A598421.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59439
Deuteranopia (green-blind)
#A99946
Tritanopia (blue-blind)
#B18E85
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a59842;
/* rgb */ color: rgb(165, 152, 66);
/* oklch */ color: oklch(67.4% 0.108 100.8);
Tailwind
colors: {
  custom: {
    50: '#c2b67a',
    500: '#a59842',
    950: '#000000',
  },
}
SCSS
$custom: #a59842;
$custom-light: #c2b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#a59842",
  "rgb": {
    "r": 165,
    "g": 152,
    "b": 66
  },
  "hsl": {
    "h": 52.121,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.67357,
    "c": 0.10803,
    "h": 100.8
  },
  "luminance": 0.30849
}

Semantic roles & 50–950 ramp

primary
#A59842
secondary
#858DBD
accent
#66D355
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131109
muted
#82807B

Preview Lab

Preview with #A59842

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

Preview Lab → · Contrast checker → · Palette generator →

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