#A2A02F#A2A02F

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

Color values

HEX#A2A02F
RGBrgb(162, 160, 47)
HSLhsl(59, 55%, 41%)
HSVhsv(59, 71%, 64%)
CMYKcmyk(0%, 1.2%, 71%, 36.5%)
CIE-LABlab(64.18, -12.99, 55.94)
CIE-LCHlch(64.18, 57.43, 103.07°)
OKLaboklab(68.68% -0.0413 0.1243)
OKLCHoklch(68.68% 0.131 108.4)
XYZxyz(27.9852, 33.0291, 7.5899)
Luminance0.3303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A02F #2F31A2
analogous
#A2662F #A2A02F #6AA22F
triadic
#A2A02F #2FA2A0 #A02FA2
tetradic
#A2A02F #2FA266 #2F31A2 #A22F6A
square
#A2A02F #2FA266 #2F31A2 #A22F6A
split-complementary
#A2A02F #2F6AA2 #662FA2
monochromatic
#434213 #737121 #A2A02F #C9C745 #D7D575

Accessibility & contrast

On white

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

On black

7.61
#A2A02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A02F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A02F#FFFFFF#000000##000000
##A2A02F1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a02f;
/* rgb */ color: rgb(162, 160, 47);
/* oklch */ color: oklch(68.7% 0.131 108.4);
Tailwind
colors: {
  custom: {
    50: '#c1bb6f',
    500: '#a2a02f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a02f;
$custom-light: #c1bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a02f",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 58.957,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68678,
    "c": 0.13098,
    "h": 108.4
  },
  "luminance": 0.33028
}

Semantic roles & 50–950 ramp

primary
#A2A02F
secondary
#6E70BF
accent
#4CDE49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131108
muted
#82807B

Preview Lab

Preview with #A2A02F

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

Preview Lab → · Contrast checker → · Palette generator →

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