#A0A342#A0A342

#A0A342 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.120 H 110.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A0A342
RGBrgb(160, 163, 66)
HSLhsl(62, 42%, 45%)
HSVhsv(62, 60%, 64%)
CMYKcmyk(1.8%, 0%, 59.5%, 36.1%)
CIE-LABlab(65.01, -14.22, 48.78)
CIE-LCHlch(65.01, 50.81, 106.25°)
OKLaboklab(69.35% -0.0426 0.1122)
OKLCHoklch(69.35% 0.12 110.8)
XYZxyz(28.5785, 34.0620, 10.2224)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0A342 #4542A3
analogous
#A37642 #A0A342 #6FA342
triadic
#A0A342 #42A0A3 #A342A0
tetradic
#A0A342 #42A376 #4542A3 #A3426F
square
#A0A342 #42A376 #4542A3 #A3426F
split-complementary
#A0A342 #426FA3 #7642A3
monochromatic
#4A4C1F #757730 #A0A342 #BDC063 #CFD18E

Accessibility & contrast

On white

2.69
#A0A342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A0A342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0A342
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0A342#FFFFFF#000000##000000
##A0A3421.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#B09F48
Tritanopia (blue-blind)
#AA9A8E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a0a342;
/* rgb */ color: rgb(160, 163, 66);
/* oklch */ color: oklch(69.3% 0.120 110.8);
Tailwind
colors: {
  custom: {
    50: '#bebe7a',
    500: '#a0a342',
    950: '#000000',
  },
}
SCSS
$custom: #a0a342;
$custom-light: #bebe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0a342",
  "rgb": {
    "r": 160,
    "g": 163,
    "b": 66
  },
  "hsl": {
    "h": 61.856,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69346,
    "c": 0.12002,
    "h": 110.8
  },
  "luminance": 0.34061
}

Semantic roles & 50–950 ramp

primary
#A0A342
secondary
#8684BC
accent
#56D25A
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #A0A342

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

Preview Lab → · Contrast checker → · Palette generator →

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