#A2B02E#A2B02E

#A2B02E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.149 H 115.6°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#A2B02E
RGBrgb(162, 176, 46)
HSLhsl(66, 59%, 44%)
HSVhsv(66, 74%, 69%)
CMYKcmyk(8%, 0%, 73.9%, 31%)
CIE-LABlab(68.70, -21.21, 60.66)
CIE-LCHlch(68.70, 64.26, 109.27°)
OKLaboklab(72.29% -0.0643 0.1341)
OKLCHoklch(72.29% 0.149 115.6)
XYZxyz(30.9196, 38.9298, 8.4696)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B02E #3C2EB0
analogous
#B07D2E #A2B02E #61B02E
triadic
#A2B02E #2EA2B0 #B02EA2
tetradic
#A2B02E #2EB07D #3C2EB0 #B02E61
square
#A2B02E #2EB07D #3C2EB0 #B02E61
split-complementary
#A2B02E #2E61B0 #7D2EB0
monochromatic
#494F15 #757F21 #A2B02E #C2D04B #D2DD7C

Accessibility & contrast

On white

2.39
#A2B02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#A2B02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B02E
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B02E#FFFFFF#000000##000000
##A2B02E1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA713
Deuteranopia (green-blind)
#BCA939
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b02e;
/* rgb */ color: rgb(162, 176, 46);
/* oklch */ color: oklch(72.3% 0.149 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c770',
    500: '#a2b02e',
    950: '#000000',
  },
}
SCSS
$custom: #a2b02e;
$custom-light: #c1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b02e",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 46
  },
  "hsl": {
    "h": 66.462,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.72291,
    "c": 0.14872,
    "h": 115.6
  },
  "luminance": 0.38929
}

Semantic roles & 50–950 ramp

primary
#A2B02E
secondary
#7D75C5
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B02E

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

Preview Lab → · Contrast checker → · Palette generator →

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