#A0B31D#A0B31D

#A0B31D 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#A0B31D
RGBrgb(160, 179, 29)
HSLhsl(68, 72%, 41%)
HSVhsv(68, 84%, 70%)
CMYKcmyk(10.6%, 0%, 83.8%, 29.8%)
CIE-LABlab(69.33, -24.22, 66.17)
CIE-LCHlch(69.33, 70.46, 110.10°)
OKLaboklab(72.73% -0.0738 0.1429)
OKLCHoklch(72.73% 0.161 117.3)
XYZxyz(30.8399, 39.8029, 7.2202)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B31D #301DB3
analogous
#B37B1D #A0B31D #55B31D
triadic
#A0B31D #1DA0B3 #B31DA0
tetradic
#A0B31D #1DB37B #301DB3 #B31D55
square
#A0B31D #1DB37B #301DB3 #B31D55
split-complementary
#A0B31D #1D55B3 #7B1DB3
monochromatic
#424A0C #717E14 #A0B31D #C7DD30 #D6E664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B31D#FFFFFF#000000##000000
##A0B31D1.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: #a0b31d;
/* rgb */ color: rgb(160, 179, 29);
/* oklch */ color: oklch(72.7% 0.161 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c96a',
    500: '#a0b31d',
    950: '#000000',
  },
}
SCSS
$custom: #a0b31d;
$custom-light: #c0c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b31d",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 67.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.72734,
    "c": 0.16087,
    "h": 117.3
  },
  "luminance": 0.39802
}

Semantic roles & 50–950 ramp

primary
#A0B31D
secondary
#6E61CB
accent
#39EF50
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B31D

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

Preview Lab → · Contrast checker → · Palette generator →

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