#A2A62B#A2A62B

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

Color values

HEX#A2A62B
RGBrgb(162, 166, 43)
HSLhsl(62, 59%, 41%)
HSVhsv(62, 74%, 65%)
CMYKcmyk(2.4%, 0%, 74.1%, 34.9%)
CIE-LABlab(65.85, -16.29, 58.99)
CIE-LCHlch(65.85, 61.20, 105.44°)
OKLaboklab(70% -0.0509 0.13)
OKLCHoklch(70% 0.14 111.4)
XYZxyz(28.9735, 35.1290, 7.5394)
Luminance0.3513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2A62B #2F2BA6
analogous
#A66C2B #A2A62B #64A62B
triadic
#A2A62B #2BA2A6 #A62BA2
tetradic
#A2A62B #2BA66C #2F2BA6 #A62B64
square
#A2A62B #2BA66C #2F2BA6 #A62B64
split-complementary
#A2A62B #2B64A6 #6C2BA6
monochromatic
#434512 #73751E #A2A62B #C9CE41 #D7DA71

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2A62B#FFFFFF#000000##000000
##A2A62B1.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)
#B39E11
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#AD9C8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a2a62b;
/* rgb */ color: rgb(162, 166, 43);
/* oklch */ color: oklch(70.0% 0.140 111.4);
Tailwind
colors: {
  custom: {
    50: '#c1c06e',
    500: '#a2a62b',
    950: '#000000',
  },
}
SCSS
$custom: #a2a62b;
$custom-light: #c1c06e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2a62b",
  "rgb": {
    "r": 162,
    "g": 166,
    "b": 43
  },
  "hsl": {
    "h": 61.951,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.7,
    "c": 0.13965,
    "h": 111.4
  },
  "luminance": 0.35128
}

Semantic roles & 50–950 ramp

primary
#A2A62B
secondary
#6E6BC1
accent
#46E24B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B

Preview Lab

Preview with #A2A62B

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

Preview Lab → · Contrast checker → · Palette generator →

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