#A2A62F#A2A62F

#A2A62F is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.137 H 111.4°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#A2A62F
RGBrgb(162, 166, 47)
HSLhsl(62, 56%, 42%)
HSVhsv(62, 72%, 65%)
CMYKcmyk(2.4%, 0%, 71.7%, 34.9%)
CIE-LABlab(65.87, -16.10, 57.59)
CIE-LCHlch(65.87, 59.79, 105.62°)
OKLaboklab(70.03% -0.05 0.1278)
OKLCHoklch(70.03% 0.137 111.4)
XYZxyz(29.0505, 35.1598, 7.9450)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A62F #332FA6
analogous
#A66F2F #A2A62F #67A62F
triadic
#A2A62F #2FA2A6 #A62FA2
tetradic
#A2A62F #2FA66F #332FA6 #A62F67
square
#A2A62F #2FA66F #332FA6 #A62F67
split-complementary
#A2A62F #2F67A6 #6F2FA6
monochromatic
#454714 #737621 #A2A62F #C7CB47 #D5D877

Accessibility & contrast

On white

2.61
#A2A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#A2A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2A62F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2A62F#FFFFFF#000000##000000
##A2A62F1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1A
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a62f;
/* rgb */ color: rgb(162, 166, 47);
/* oklch */ color: oklch(70.0% 0.137 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c070',
    500: '#a2a62f',
    950: '#000000',
  },
}
SCSS
$custom: #a2a62f;
$custom-light: #c1c070;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a62f",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 62.017,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.13721,
    "h": 111.4
  },
  "luminance": 0.35159
}

Semantic roles & 50–950 ramp

primary
#A2A62F
secondary
#7370C1
accent
#49DF4E
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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