#A29940#A29940

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

Color values

HEX#A29940
RGBrgb(162, 153, 64)
HSLhsl(54, 43%, 44%)
HSVhsv(54, 60%, 64%)
CMYKcmyk(0%, 5.6%, 60.5%, 36.5%)
CIE-LABlab(62.37, -8.23, 46.83)
CIE-LCHlch(62.37, 47.54, 99.97°)
OKLaboklab(67.27% -0.026 0.1077)
OKLCHoklch(67.27% 0.111 103.5)
XYZxyz(27.2179, 30.8350, 9.3675)
Luminance0.3083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A29940 #4049A2
analogous
#A26840 #A29940 #7AA240
triadic
#A29940 #40A299 #9940A2
tetradic
#A29940 #40A268 #4049A2 #A2407A
square
#A29940 #40A268 #4049A2 #A2407A
split-complementary
#A29940 #407AA2 #6840A2
monochromatic
#4A461D #76702F #A29940 #C0B75F #D1CB8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A29940#FFFFFF#000000##000000
##A299401.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)
#A69436
Deuteranopia (green-blind)
#A99945
Tritanopia (blue-blind)
#AD8F86
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a29940;
/* rgb */ color: rgb(162, 153, 64);
/* oklch */ color: oklch(67.3% 0.111 103.5);
Tailwind
colors: {
  custom: {
    50: '#c0b678',
    500: '#a29940',
    950: '#000000',
  },
}
SCSS
$custom: #a29940;
$custom-light: #c0b678;
$custom-dark: #000000;
JSON
{
  "hex": "#a29940",
  "rgb": {
    "r": 162,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 54.49,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67275,
    "c": 0.11081,
    "h": 103.5
  },
  "luminance": 0.30834
}

Semantic roles & 50–950 ramp

primary
#A29940
secondary
#8287BC
accent
#60D355
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131109
muted
#82807B

Preview Lab

Preview with #A29940

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

Preview Lab → · Contrast checker → · Palette generator →

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