#A1B320#A1B320

#A1B320 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.8% C 0.159 H 117.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A1B320
RGBrgb(161, 179, 32)
HSLhsl(67, 70%, 41%)
HSVhsv(67, 82%, 70%)
CMYKcmyk(10.1%, 0%, 82.1%, 29.8%)
CIE-LABlab(69.41, -23.70, 65.52)
CIE-LCHlch(69.41, 69.67, 109.88°)
OKLaboklab(72.82% -0.0722 0.142)
OKLCHoklch(72.82% 0.159 117)
XYZxyz(31.0796, 39.9220, 7.4347)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B320 #3220B3
analogous
#B37C20 #A1B320 #58B320
triadic
#A1B320 #20A1B3 #B320A1
tetradic
#A1B320 #20B37C #3220B3 #B32058
square
#A1B320 #20B37C #3220B3 #B32058
split-complementary
#A1B320 #2058B3 #7C20B3
monochromatic
#444B0D #727F17 #A1B320 #C7DB35 #D5E469

Accessibility & contrast

On white

2.34
#A1B320 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#A1B320 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B320
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B320#FFFFFF#000000##000000
##A1B3201.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA30
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b320;
/* rgb */ color: rgb(161, 179, 32);
/* oklch */ color: oklch(72.8% 0.159 117.0);
Tailwind
colors: {
  custom: {
    50: '#c1c96b',
    500: '#a1b320',
    950: '#000000',
  },
}
SCSS
$custom: #a1b320;
$custom-light: #c1c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b320",
  "rgb": {
    "r": 161,
    "g": 179,
    "b": 32
  },
  "hsl": {
    "h": 67.347,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.15932,
    "h": 117
  },
  "luminance": 0.39922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A1B320

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

Preview Lab → · Contrast checker → · Palette generator →

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