#A2A02C#A2A02C

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

Color values

HEX#A2A02C
RGBrgb(162, 160, 44)
HSLhsl(59, 57%, 40%)
HSVhsv(59, 73%, 64%)
CMYKcmyk(0%, 1.2%, 72.8%, 36.5%)
CIE-LABlab(64.17, -13.14, 57.03)
CIE-LCHlch(64.17, 58.53, 102.97°)
OKLaboklab(68.66% -0.042 0.1261)
OKLCHoklch(68.66% 0.133 108.4)
XYZxyz(27.9268, 33.0057, 7.2821)
Luminance0.3301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A02C #2C2EA2
analogous
#A2652C #A2A02C #69A22C
triadic
#A2A02C #2CA2A0 #A02CA2
tetradic
#A2A02C #2CA265 #2C2EA2 #A22C69
square
#A2A02C #2CA265 #2C2EA2 #A22C69
split-complementary
#A2A02C #2C69A2 #652CA2
monochromatic
#424112 #72701F #A2A02C #CBC940 #D8D670

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A02C#FFFFFF#000000##000000
##A2A02C1.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)
#AD9916
Deuteranopia (green-blind)
#AF9D35
Tritanopia (blue-blind)
#AE958A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a02c;
/* rgb */ color: rgb(162, 160, 44);
/* oklch */ color: oklch(68.7% 0.133 108.4);
Tailwind
colors: {
  custom: {
    50: '#c1bb6e',
    500: '#a2a02c',
    950: '#000000',
  },
}
SCSS
$custom: #a2a02c;
$custom-light: #c1bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a02c",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 58.983,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.68657,
    "c": 0.13289,
    "h": 108.4
  },
  "luminance": 0.33005
}

Semantic roles & 50–950 ramp

primary
#A2A02C
secondary
#6A6CBF
accent
#4AE147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B

Preview Lab

Preview with #A2A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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