#A0B31E#A0B31E

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

Color values

HEX#A0B31E
RGBrgb(160, 179, 30)
HSLhsl(68, 71%, 41%)
HSVhsv(68, 83%, 70%)
CMYKcmyk(10.6%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.33, -24.19, 65.93)
CIE-LCHlch(69.33, 70.22, 110.15°)
OKLaboklab(72.74% -0.0737 0.1426)
OKLCHoklch(72.74% 0.16 117.3)
XYZxyz(30.8525, 39.8079, 7.2864)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B31E #311EB3
analogous
#B37B1E #A0B31E #55B31E
triadic
#A0B31E #1EA0B3 #B31EA0
tetradic
#A0B31E #1EB37B #311EB3 #B31E55
square
#A0B31E #1EB37B #311EB3 #B31E55
split-complementary
#A0B31E #1E55B3 #7B1EB3
monochromatic
#424A0C #717F15 #A0B31E #C7DD32 #D5E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B31E#FFFFFF#000000##000000
##A0B31E1.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)
#BEAA2E
Tritanopia (blue-blind)
#AAA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b31e;
/* rgb */ color: rgb(160, 179, 30);
/* oklch */ color: oklch(72.7% 0.160 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c96a',
    500: '#a0b31e',
    950: '#000000',
  },
}
SCSS
$custom: #a0b31e;
$custom-light: #c0c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b31e",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 67.651,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.16048,
    "h": 117.3
  },
  "luminance": 0.39808
}

Semantic roles & 50–950 ramp

primary
#A0B31E
secondary
#7062CB
accent
#3AEE51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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