#A2B62A#A2B62A

#A2B62A is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.6% C 0.158 H 117.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A2B62A
RGBrgb(162, 182, 42)
HSLhsl(69, 63%, 44%)
HSVhsv(69, 77%, 71%)
CMYKcmyk(11%, 0%, 76.9%, 28.6%)
CIE-LABlab(70.39, -24.36, 63.56)
CIE-LCHlch(70.39, 68.06, 110.97°)
OKLaboklab(73.64% -0.0734 0.1395)
OKLCHoklch(73.64% 0.158 117.7)
XYZxyz(32.0469, 41.3048, 8.4744)
Luminance0.4130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B62A #3E2AB6
analogous
#B6842A #A2B62A #5CB62A
triadic
#A2B62A #2AA2B6 #B62AA2
tetradic
#A2B62A #2AB684 #3E2AB6 #B62A5C
square
#A2B62A #2AB684 #3E2AB6 #B62A5C
split-complementary
#A2B62A #2A5CB6 #842AB6
monochromatic
#495313 #76841F #A2B62A #C1D548 #D2E07A

Accessibility & contrast

On white

2.27
#A2B62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A2B62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B62A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B62A#FFFFFF#000000##000000
##A2B62A1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC01
Deuteranopia (green-blind)
#C0AD37
Tritanopia (blue-blind)
#ACAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b62a;
/* rgb */ color: rgb(162, 182, 42);
/* oklch */ color: oklch(73.6% 0.158 117.7);
Tailwind
colors: {
  custom: {
    50: '#c1cb6f',
    500: '#a2b62a',
    950: '#000000',
  },
}
SCSS
$custom: #a2b62a;
$custom-light: #c1cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b62a",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 42
  },
  "hsl": {
    "h": 68.571,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73641,
    "c": 0.15762,
    "h": 117.7
  },
  "luminance": 0.41304
}

Semantic roles & 50–950 ramp

primary
#A2B62A
secondary
#8073C8
accent
#42E65A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B62A

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

Preview Lab → · Contrast checker → · Palette generator →

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