#A0B31A#A0B31A

#A0B31A is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.7% C 0.162 H 117.3°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#A0B31A
RGBrgb(160, 179, 26)
HSLhsl(67, 75%, 40%)
HSVhsv(67, 85%, 70%)
CMYKcmyk(10.6%, 0%, 85.5%, 29.8%)
CIE-LABlab(69.32, -24.30, 66.85)
CIE-LCHlch(69.32, 71.13, 109.98°)
OKLaboklab(72.72% -0.0742 0.1439)
OKLCHoklch(72.72% 0.162 117.3)
XYZxyz(30.8046, 39.7887, 7.0343)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B31A #2D1AB3
analogous
#B3791A #A0B31A #53B31A
triadic
#A0B31A #1AA0B3 #B31AA0
tetradic
#A0B31A #1AB379 #2D1AB3 #B31A53
square
#A0B31A #1AB379 #2D1AB3 #B31A53
split-complementary
#A0B31A #1A53B3 #791AB3
monochromatic
#40480A #707E12 #A0B31A #C9E02A #D7E860

Accessibility & contrast

On white

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

On black

8.96
#A0B31A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0B31A
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0B31A#FFFFFF#000000##000000
##A0B31A1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a0b31a;
/* rgb */ color: rgb(160, 179, 26);
/* oklch */ color: oklch(72.7% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c969',
    500: '#a0b31a',
    950: '#000000',
  },
}
SCSS
$custom: #a0b31a;
$custom-light: #c0c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b31a",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 26
  },
  "hsl": {
    "h": 67.451,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.72722,
    "c": 0.16195,
    "h": 117.3
  },
  "luminance": 0.39788
}

Semantic roles & 50–950 ramp

primary
#A0B31A
secondary
#6B5DCC
accent
#37F14E
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B31A

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

Preview Lab → · Contrast checker → · Palette generator →

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