#A0BA21#A0BA21

#A0BA21 is a light, vivid yellow-green. Relative luminance 0.427; OKLCH L 74.4% C 0.167 H 119.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#A0BA21
RGBrgb(160, 186, 33)
HSLhsl(70, 70%, 43%)
HSVhsv(70, 82%, 73%)
CMYKcmyk(14%, 0%, 82.3%, 27.1%)
CIE-LABlab(71.35, -27.48, 66.92)
CIE-LCHlch(71.35, 72.34, 112.33°)
OKLaboklab(74.37% -0.0825 0.1452)
OKLCHoklch(74.37% 0.167 119.6)
XYZxyz(32.3313, 42.7014, 7.9775)
Luminance0.4270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0BA21 #3B21BA
analogous
#BA8721 #A0BA21 #53BA21
triadic
#A0BA21 #21A0BA #BA21A0
tetradic
#A0BA21 #21BA87 #3B21BA #BA2153
square
#A0BA21 #21BA87 #3B21BA #BA2153
split-complementary
#A0BA21 #2153BA #8721BA
monochromatic
#47520F #738618 #A0BA21 #C1DC3C #D2E670

Accessibility & contrast

On white

2.20
#A0BA21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#A0BA21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0BA21
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0BA21#FFFFFF#000000##000000
##A0BA211.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C3AF32
Tritanopia (blue-blind)
#AAB09F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a0ba21;
/* rgb */ color: rgb(160, 186, 33);
/* oklch */ color: oklch(74.4% 0.167 119.6);
Tailwind
colors: {
  custom: {
    50: '#c0ce6c',
    500: '#a0ba21',
    950: '#000000',
  },
}
SCSS
$custom: #a0ba21;
$custom-light: #c0ce6c;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ba21",
  "rgb": {
    "r": 160,
    "g": 186,
    "b": 33
  },
  "hsl": {
    "h": 70.196,
    "s": 69.863,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.16701,
    "h": 119.6
  },
  "luminance": 0.42701
}

Semantic roles & 50–950 ramp

primary
#A0BA21
secondary
#7B6BCC
accent
#3BED59
background
#FCFCF6
surface
#F8F9EC
border
#D1D2C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A0BA21

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

Preview Lab → · Contrast checker → · Palette generator →

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