#A2B02F#A2B02F

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

Color values

HEX#A2B02F
RGBrgb(162, 176, 47)
HSLhsl(67, 58%, 44%)
HSVhsv(67, 73%, 69%)
CMYKcmyk(8%, 0%, 73.3%, 31%)
CIE-LABlab(68.71, -21.16, 60.32)
CIE-LCHlch(68.71, 63.92, 109.33°)
OKLaboklab(72.3% -0.0641 0.1335)
OKLCHoklch(72.3% 0.148 115.6)
XYZxyz(30.9395, 38.9378, 8.5746)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B02F #3D2FB0
analogous
#B07D2F #A2B02F #61B02F
triadic
#A2B02F #2FA2B0 #B02FA2
tetradic
#A2B02F #2FB07D #3D2FB0 #B02F61
square
#A2B02F #2FB07D #3D2FB0 #B02F61
split-complementary
#A2B02F #2F61B0 #7D2FB0
monochromatic
#494F15 #768022 #A2B02F #C1CF4D #D2DC7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B02F#FFFFFF#000000##000000
##A2B02F1.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)
#BDA715
Deuteranopia (green-blind)
#BBA93A
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b02f;
/* rgb */ color: rgb(162, 176, 47);
/* oklch */ color: oklch(72.3% 0.148 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c771',
    500: '#a2b02f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b02f;
$custom-light: #c1c771;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b02f",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 66.512,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.14813,
    "h": 115.6
  },
  "luminance": 0.38937
}

Semantic roles & 50–950 ramp

primary
#A2B02F
secondary
#7E76C5
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B02F

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

Preview Lab → · Contrast checker → · Palette generator →

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