#A3A242#A3A242

#A3A242 is a light, moderate yellow. Relative luminance 0.340; OKLCH L 69.4% C 0.118 H 108.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A3A242
RGBrgb(163, 162, 66)
HSLhsl(59, 42%, 45%)
HSVhsv(59, 60%, 64%)
CMYKcmyk(0%, 0.6%, 59.5%, 36.1%)
CIE-LABlab(64.98, -12.41, 48.81)
CIE-LCHlch(64.98, 50.36, 104.26°)
OKLaboklab(69.38% -0.0377 0.1122)
OKLCHoklch(69.38% 0.118 108.6)
XYZxyz(29.0088, 34.0213, 10.1919)
Luminance0.3402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A3A242 #4243A3
analogous
#A37142 #A3A242 #74A342
triadic
#A3A242 #42A3A2 #A242A3
tetradic
#A3A242 #42A371 #4243A3 #A34274
square
#A3A242 #42A371 #4243A3 #A34274
split-complementary
#A3A242 #4274A3 #7142A3
monochromatic
#4C4B1F #777730 #A3A242 #C0BF63 #D1D18E

Accessibility & contrast

On white

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

On black

7.80
#A3A242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A3A242
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A3A242#FFFFFF#000000##000000
##A3A2421.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a3a242;
/* rgb */ color: rgb(163, 162, 66);
/* oklch */ color: oklch(69.4% 0.118 108.6);
Tailwind
colors: {
  custom: {
    50: '#c1bd7a',
    500: '#a3a242',
    950: '#000000',
  },
}
SCSS
$custom: #a3a242;
$custom-light: #c1bd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a3a242",
  "rgb": {
    "r": 163,
    "g": 162,
    "b": 66
  },
  "hsl": {
    "h": 59.381,
    "s": 42.358,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69381,
    "c": 0.11836,
    "h": 108.6
  },
  "luminance": 0.34021
}

Semantic roles & 50–950 ramp

primary
#A3A242
secondary
#8485BC
accent
#57D256
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B

Preview Lab

Preview with #A3A242

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

Preview Lab → · Contrast checker → · Palette generator →

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