#A2B02B#A2B02B

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

Color values

HEX#A2B02B
RGBrgb(162, 176, 43)
HSLhsl(66, 61%, 43%)
HSVhsv(66, 76%, 69%)
CMYKcmyk(8%, 0%, 75.6%, 31%)
CIE-LABlab(68.68, -21.35, 61.65)
CIE-LCHlch(68.68, 65.25, 109.10°)
OKLaboklab(72.27% -0.065 0.1357)
OKLCHoklch(72.27% 0.15 115.6)
XYZxyz(30.8625, 38.9070, 8.1690)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B02B #392BB0
analogous
#B07C2B #A2B02B #5FB02B
triadic
#A2B02B #2BA2B0 #B02BA2
tetradic
#A2B02B #2BB07C #392BB0 #B02B5F
square
#A2B02B #2BB07C #392BB0 #B02B5F
split-complementary
#A2B02B #2B5FB0 #7C2BB0
monochromatic
#474E13 #757F1F #A2B02B #C3D246 #D3DE78

Accessibility & contrast

On white

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

On black

8.78
#A2B02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B02B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B02B#FFFFFF#000000##000000
##A2B02B1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2b02b;
/* rgb */ color: rgb(162, 176, 43);
/* oklch */ color: oklch(72.3% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c76f',
    500: '#a2b02b',
    950: '#000000',
  },
}
SCSS
$custom: #a2b02b;
$custom-light: #c1c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b02b",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 43
  },
  "hsl": {
    "h": 66.316,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.72272,
    "c": 0.15042,
    "h": 115.6
  },
  "luminance": 0.38906
}

Semantic roles & 50–950 ramp

primary
#A2B02B
secondary
#7A71C6
accent
#44E455
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B02B

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

Preview Lab → · Contrast checker → · Palette generator →

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