#A0BA31#A0BA31

#A0BA31 is a light, vivid yellow-green. Relative luminance 0.428; OKLCH L 74.5% C 0.159 H 120.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#A0BA31
RGBrgb(160, 186, 49)
HSLhsl(71, 58%, 46%)
HSVhsv(71, 74%, 73%)
CMYKcmyk(14%, 0%, 73.7%, 27.1%)
CIE-LABlab(71.43, -26.81, 62.19)
CIE-LCHlch(71.43, 67.72, 113.32°)
OKLaboklab(74.45% -0.0795 0.1379)
OKLCHoklch(74.45% 0.159 120)
XYZxyz(32.6111, 42.8133, 9.4509)
Luminance0.4281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0BA31 #4B31BA
analogous
#BA8F31 #A0BA31 #5BBA31
triadic
#A0BA31 #31A0BA #BA31A0
tetradic
#A0BA31 #31BA8F #4B31BA #BA315B
square
#A0BA31 #31BA8F #4B31BA #BA315B
split-complementary
#A0BA31 #315BBA #8F31BA
monochromatic
#4D5917 #768A24 #A0BA31 #BBD256 #CEDF86

Accessibility & contrast

On white

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

On black

9.56
#A0BA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0BA31
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0BA31#FFFFFF#000000##000000
##A0BA311.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF15
Deuteranopia (green-blind)
#C3AF3D
Tritanopia (blue-blind)
#A9B0A0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a0ba31;
/* rgb */ color: rgb(160, 186, 49);
/* oklch */ color: oklch(74.5% 0.159 120.0);
Tailwind
colors: {
  custom: {
    50: '#c0ce73',
    500: '#a0ba31',
    950: '#000000',
  },
}
SCSS
$custom: #a0ba31;
$custom-light: #c0ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ba31",
  "rgb": {
    "r": 160,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 71.387,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.74454,
    "c": 0.15912,
    "h": 120
  },
  "luminance": 0.42813
}

Semantic roles & 50–950 ramp

primary
#A0BA31
secondary
#8C7EC9
accent
#46E264
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A0BA31

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

Preview Lab → · Contrast checker → · Palette generator →

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