#A2A02E#A2A02E

#A2A02E is a light, vivid yellow. Relative luminance 0.330; OKLCH L 68.7% C 0.132 H 108.4°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#A2A02E
RGBrgb(162, 160, 46)
HSLhsl(59, 56%, 41%)
HSVhsv(59, 72%, 64%)
CMYKcmyk(0%, 1.2%, 71.6%, 36.5%)
CIE-LABlab(64.18, -13.04, 56.31)
CIE-LCHlch(64.18, 57.80, 103.04°)
OKLaboklab(68.67% -0.0416 0.1249)
OKLCHoklch(68.67% 0.132 108.4)
XYZxyz(27.9653, 33.0211, 7.4848)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A02E #2E30A2
analogous
#A2662E #A2A02E #6AA22E
triadic
#A2A02E #2EA2A0 #A02EA2
tetradic
#A2A02E #2EA266 #2E30A2 #A22E6A
square
#A2A02E #2EA266 #2E30A2 #A22E6A
split-complementary
#A2A02E #2E6AA2 #662EA2
monochromatic
#434213 #727120 #A2A02E #CAC743 #D7D673

Accessibility & contrast

On white

2.76
#A2A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#A2A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A02E
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A02E#FFFFFF#000000##000000
##A2A02E1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991A
Deuteranopia (green-blind)
#AF9D36
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a2a02e;
/* rgb */ color: rgb(162, 160, 46);
/* oklch */ color: oklch(68.7% 0.132 108.4);
Tailwind
colors: {
  custom: {
    50: '#c1bb6f',
    500: '#a2a02e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a02e;
$custom-light: #c1bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a02e",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 58.966,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68671,
    "c": 0.13163,
    "h": 108.4
  },
  "luminance": 0.3302
}

Semantic roles & 50–950 ramp

primary
#A2A02E
secondary
#6D6EBF
accent
#4BDF49
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A2A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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