#A2A02B#A2A02B

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

Color values

HEX#A2A02B
RGBrgb(162, 160, 43)
HSLhsl(59, 58%, 40%)
HSVhsv(59, 73%, 64%)
CMYKcmyk(0%, 1.2%, 73.5%, 36.5%)
CIE-LABlab(64.16, -13.19, 57.39)
CIE-LCHlch(64.16, 58.88, 102.94°)
OKLaboklab(68.65% -0.0423 0.1266)
OKLCHoklch(68.65% 0.134 108.5)
XYZxyz(27.9082, 32.9983, 7.1842)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A02B #2B2DA2
analogous
#A2652B #A2A02B #68A22B
triadic
#A2A02B #2BA2A0 #A02BA2
tetradic
#A2A02B #2BA265 #2B2DA2 #A22B68
square
#A2A02B #2BA265 #2B2DA2 #A22B68
split-complementary
#A2A02B #2B68A2 #652BA2
monochromatic
#414011 #72701E #A2A02B #CCC93E #D9D76F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A02B#FFFFFF#000000##000000
##A2A02B1.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)
#AD9914
Deuteranopia (green-blind)
#AF9D34
Tritanopia (blue-blind)
#AE9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a2a02b;
/* rgb */ color: rgb(162, 160, 43);
/* oklch */ color: oklch(68.7% 0.134 108.5);
Tailwind
colors: {
  custom: {
    50: '#c1bb6d',
    500: '#a2a02b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a02b;
$custom-light: #c1bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a02b",
  "rgb": {
    "r": 162,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 58.992,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.6865,
    "c": 0.1335,
    "h": 108.5
  },
  "luminance": 0.32997
}

Semantic roles & 50–950 ramp

primary
#A2A02B
secondary
#696BC0
accent
#49E147
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131107
muted
#82807A

Preview Lab

Preview with #A2A02B

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

Preview Lab → · Contrast checker → · Palette generator →

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