#A2B320#A2B320

#A2B320 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 72.9% C 0.159 H 116.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A2B320
RGBrgb(162, 179, 32)
HSLhsl(67, 70%, 41%)
HSVhsv(67, 82%, 70%)
CMYKcmyk(9.5%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.49, -23.27, 65.61)
CIE-LCHlch(69.49, 69.62, 109.53°)
OKLaboklab(72.9% -0.0711 0.1422)
OKLCHoklch(72.9% 0.159 116.6)
XYZxyz(31.2820, 40.0263, 7.4442)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B320 #3120B3
analogous
#B37B20 #A2B320 #59B320
triadic
#A2B320 #20A2B3 #B320A2
tetradic
#A2B320 #20B37B #3120B3 #B32059
square
#A2B320 #20B37B #3120B3 #B32059
split-complementary
#A2B320 #2059B3 #7B20B3
monochromatic
#444B0D #737F17 #A2B320 #C8DB35 #D6E469

Accessibility & contrast

On white

2.33
#A2B320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A2B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B320
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B320#FFFFFF#000000##000000
##A2B3201.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAB30
Tritanopia (blue-blind)
#ADA899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b320;
/* rgb */ color: rgb(162, 179, 32);
/* oklch */ color: oklch(72.9% 0.159 116.6);
Tailwind
colors: {
  custom: {
    50: '#c1c96b',
    500: '#a2b320',
    950: '#000000',
  },
}
SCSS
$custom: #a2b320;
$custom-light: #c1c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b320",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 66.939,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72903,
    "c": 0.15897,
    "h": 116.6
  },
  "luminance": 0.40026
}

Semantic roles & 50–950 ramp

primary
#A2B320
secondary
#7165CA
accent
#3BEC50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A2B320

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

Preview Lab → · Contrast checker → · Palette generator →

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