#A2A62E#A2A62E

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

Color values

HEX#A2A62E
RGBrgb(162, 166, 46)
HSLhsl(62, 57%, 42%)
HSVhsv(62, 72%, 65%)
CMYKcmyk(2.4%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.87, -16.15, 57.94)
CIE-LCHlch(65.87, 60.15, 105.57°)
OKLaboklab(70.02% -0.0503 0.1283)
OKLCHoklch(70.02% 0.138 111.4)
XYZxyz(29.0306, 35.1518, 7.8400)
Luminance0.3515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A62E #322EA6
analogous
#A66E2E #A2A62E #66A62E
triadic
#A2A62E #2EA2A6 #A62EA2
tetradic
#A2A62E #2EA66E #322EA6 #A62E66
square
#A2A62E #2EA66E #322EA6 #A62E66
split-complementary
#A2A62E #2E66A6 #6E2EA6
monochromatic
#444613 #737621 #A2A62E #C7CC46 #D6D976

Accessibility & contrast

On white

2.62
#A2A62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A62E#FFFFFF#000000##000000
##A2A62E1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2a62e;
/* rgb */ color: rgb(162, 166, 46);
/* oklch */ color: oklch(70.0% 0.138 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c06f',
    500: '#a2a62e',
    950: '#000000',
  },
}
SCSS
$custom: #a2a62e;
$custom-light: #c1c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a62e",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 62,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.7002,
    "c": 0.13783,
    "h": 111.4
  },
  "luminance": 0.35151
}

Semantic roles & 50–950 ramp

primary
#A2A62E
secondary
#726FC1
accent
#48E04D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A62E

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

Preview Lab → · Contrast checker → · Palette generator →

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