#A0B31C#A0B31C

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

Color values

HEX#A0B31C
RGBrgb(160, 179, 28)
HSLhsl(68, 73%, 41%)
HSVhsv(68, 84%, 70%)
CMYKcmyk(10.6%, 0%, 84.4%, 29.8%)
CIE-LABlab(69.33, -24.25, 66.40)
CIE-LCHlch(69.33, 70.69, 110.06°)
OKLaboklab(72.73% -0.0739 0.1433)
OKLCHoklch(72.73% 0.161 117.3)
XYZxyz(30.8277, 39.7980, 7.1562)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B31C #2F1CB3
analogous
#B37B1C #A0B31C #54B31C
triadic
#A0B31C #1CA0B3 #B31CA0
tetradic
#A0B31C #1CB37B #2F1CB3 #B31C54
square
#A0B31C #1CB37B #2F1CB3 #B31C54
split-complementary
#A0B31C #1C54B3 #7B1CB3
monochromatic
#41490B #717E14 #A0B31C #C8DE2E #D6E763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B31C#FFFFFF#000000##000000
##A0B31C1.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)
#BEAA2D
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b31c;
/* rgb */ color: rgb(160, 179, 28);
/* oklch */ color: oklch(72.7% 0.161 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c969',
    500: '#a0b31c',
    950: '#000000',
  },
}
SCSS
$custom: #a0b31c;
$custom-light: #c0c969;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b31c",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 28
  },
  "hsl": {
    "h": 67.55,
    "s": 72.947,
    "l": 40.588
  },
  "oklch": {
    "l": 0.7273,
    "c": 0.16124,
    "h": 117.3
  },
  "luminance": 0.39798
}

Semantic roles & 50–950 ramp

primary
#A0B31C
secondary
#6D5FCB
accent
#38F04F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B31C

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

Preview Lab → · Contrast checker → · Palette generator →

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