#A0B421#A0B421

#A0B421 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.160 H 117.7°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A0B421
RGBrgb(160, 180, 33)
HSLhsl(68, 69%, 42%)
HSVhsv(68, 82%, 71%)
CMYKcmyk(11.1%, 0%, 81.7%, 29.4%)
CIE-LABlab(69.63, -24.58, 65.42)
CIE-LCHlch(69.63, 69.88, 110.59°)
OKLaboklab(72.98% -0.0745 0.142)
OKLCHoklch(72.98% 0.16 117.7)
XYZxyz(31.0938, 40.2262, 7.5650)
Luminance0.4023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B421 #3521B4
analogous
#B47F21 #A0B421 #57B421
triadic
#A0B421 #21A0B4 #B421A0
tetradic
#A0B421 #21B47F #3521B4 #B42157
square
#A0B421 #21B47F #3521B4 #B42157
split-complementary
#A0B421 #2157B4 #7F21B4
monochromatic
#444D0E #728018 #A0B421 #C4DA38 #D4E46B

Accessibility & contrast

On white

2.32
#A0B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A0B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B421
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B421#FFFFFF#000000##000000
##A0B4211.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#BFAB31
Tritanopia (blue-blind)
#AAAA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a0b421;
/* rgb */ color: rgb(160, 180, 33);
/* oklch */ color: oklch(73.0% 0.160 117.7);
Tailwind
colors: {
  custom: {
    50: '#c0ca6b',
    500: '#a0b421',
    950: '#000000',
  },
}
SCSS
$custom: #a0b421;
$custom-light: #c0ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b421",
  "rgb": {
    "r": 160,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 68.163,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.16036,
    "h": 117.7
  },
  "luminance": 0.40226
}

Semantic roles & 50–950 ramp

primary
#A0B421
secondary
#7467CA
accent
#3CEC54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B421

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

Preview Lab → · Contrast checker → · Palette generator →

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