#A0B221#A0B221

#A0B221 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.5% C 0.158 H 117.0°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A0B221
RGBrgb(160, 178, 33)
HSLhsl(67, 69%, 41%)
HSVhsv(67, 81%, 70%)
CMYKcmyk(10.1%, 0%, 81.5%, 30.2%)
CIE-LABlab(69.06, -23.59, 64.92)
CIE-LCHlch(69.06, 69.07, 109.97°)
OKLaboklab(72.52% -0.0718 0.1409)
OKLCHoklch(72.52% 0.158 117)
XYZxyz(30.6929, 39.4246, 7.4314)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B221 #3321B2
analogous
#B27C21 #A0B221 #58B221
triadic
#A0B221 #21A0B2 #B221A0
tetradic
#A0B221 #21B27C #3321B2 #B22158
square
#A0B221 #21B27C #3321B2 #B22158
split-complementary
#A0B221 #2158B2 #7C21B2
monochromatic
#434B0E #727E17 #A0B221 #C6DA36 #D4E36A

Accessibility & contrast

On white

2.36
#A0B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A0B221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B221
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B221#FFFFFF#000000##000000
##A0B2211.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BDA930
Tritanopia (blue-blind)
#AAA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b221;
/* rgb */ color: rgb(160, 178, 33);
/* oklch */ color: oklch(72.5% 0.158 117.0);
Tailwind
colors: {
  custom: {
    50: '#c0c86b',
    500: '#a0b221',
    950: '#000000',
  },
}
SCSS
$custom: #a0b221;
$custom-light: #c0c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b221",
  "rgb": {
    "r": 160,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 67.448,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.7252,
    "c": 0.15818,
    "h": 117
  },
  "luminance": 0.39424
}

Semantic roles & 50–950 ramp

primary
#A0B221
secondary
#7266C9
accent
#3CEC52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B221

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

Preview Lab → · Contrast checker → · Palette generator →

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