#A0B31F#A0B31F

#A0B31F 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#A0B31F
RGBrgb(160, 179, 31)
HSLhsl(68, 70%, 41%)
HSVhsv(68, 83%, 70%)
CMYKcmyk(10.6%, 0%, 82.7%, 29.8%)
CIE-LABlab(69.34, -24.15, 65.68)
CIE-LCHlch(69.34, 69.98, 110.19°)
OKLaboklab(72.74% -0.0735 0.1422)
OKLCHoklch(72.74% 0.16 117.3)
XYZxyz(30.8654, 39.8131, 7.3548)
Luminance0.3981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B31F #321FB3
analogous
#B37C1F #A0B31F #56B31F
triadic
#A0B31F #1FA0B3 #B31FA0
tetradic
#A0B31F #1FB37C #321FB3 #B31F56
square
#A0B31F #1FB37C #321FB3 #B31F56
split-complementary
#A0B31F #1F56B3 #7C1FB3
monochromatic
#434B0D #717F16 #A0B31F #C6DC33 #D5E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #a0b31f;
/* rgb */ color: rgb(160, 179, 31);
/* oklch */ color: oklch(72.7% 0.160 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c96a',
    500: '#a0b31f',
    950: '#000000',
  },
}
SCSS
$custom: #a0b31f;
$custom-light: #c0c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b31f",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 31
  },
  "hsl": {
    "h": 67.703,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.72742,
    "c": 0.16009,
    "h": 117.3
  },
  "luminance": 0.39813
}

Semantic roles & 50–950 ramp

primary
#A0B31F
secondary
#7164CA
accent
#3BED51
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B31F

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

Preview Lab → · Contrast checker → · Palette generator →

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