#A2B02C#A2B02C

#A2B02C 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#A2B02C
RGBrgb(162, 176, 44)
HSLhsl(66, 60%, 43%)
HSVhsv(66, 75%, 69%)
CMYKcmyk(8%, 0%, 75%, 31%)
CIE-LABlab(68.69, -21.31, 61.33)
CIE-LCHlch(68.69, 64.92, 109.16°)
OKLaboklab(72.28% -0.0648 0.1351)
OKLCHoklch(72.28% 0.15 115.6)
XYZxyz(30.8811, 38.9144, 8.2668)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B02C #3A2CB0
analogous
#B07C2C #A2B02C #60B02C
triadic
#A2B02C #2CA2B0 #B02CA2
tetradic
#A2B02C #2CB07C #3A2CB0 #B02C60
square
#A2B02C #2CB07C #3A2CB0 #B02C60
split-complementary
#A2B02C #2C60B0 #7C2CB0
monochromatic
#484E14 #757F20 #A2B02C #C3D148 #D3DD79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B02C#FFFFFF#000000##000000
##A2B02C1.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)
#BDA70D
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#ADA697
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b02c;
/* rgb */ color: rgb(162, 176, 44);
/* oklch */ color: oklch(72.3% 0.150 115.6);
Tailwind
colors: {
  custom: {
    50: '#c1c770',
    500: '#a2b02c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b02c;
$custom-light: #c1c770;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b02c",
  "rgb": {
    "r": 162,
    "g": 176,
    "b": 44
  },
  "hsl": {
    "h": 66.364,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.14986,
    "h": 115.6
  },
  "luminance": 0.38914
}

Semantic roles & 50–950 ramp

primary
#A2B02C
secondary
#7B72C6
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B02C

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

Preview Lab → · Contrast checker → · Palette generator →

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