#A0AB1F#A0AB1F

#A0AB1F is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.151 H 114.4°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#A0AB1F
RGBrgb(160, 171, 31)
HSLhsl(65, 69%, 40%)
HSVhsv(65, 82%, 67%)
CMYKcmyk(6.4%, 0%, 81.9%, 32.9%)
CIE-LABlab(67.05, -20.18, 63.70)
CIE-LCHlch(67.05, 66.82, 107.58°)
OKLaboklab(70.91% -0.0626 0.138)
OKLCHoklch(70.91% 0.152 114.4)
XYZxyz(29.3084, 36.6989, 6.8357)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0AB1F #2A1FAB
analogous
#AB701F #A0AB1F #5AAB1F
triadic
#A0AB1F #1FA0AB #AB1FA0
tetradic
#A0AB1F #1FAB70 #2A1FAB #AB1F5A
square
#A0AB1F #1FAB70 #2A1FAB #AB1F5A
split-complementary
#A0AB1F #1F5AAB #701FAB
monochromatic
#3F430C #707716 #A0AB1F #CCD92E #D8E362

Accessibility & contrast

On white

2.52
#A0AB1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#A0AB1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A0AB1F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0AB1F#FFFFFF#000000##000000
##A0AB1F1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B8A42D
Tritanopia (blue-blind)
#ABA092
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a0ab1f;
/* rgb */ color: rgb(160, 171, 31);
/* oklch */ color: oklch(70.9% 0.151 114.4);
Tailwind
colors: {
  custom: {
    50: '#c0c369',
    500: '#a0ab1f',
    950: '#000000',
  },
}
SCSS
$custom: #a0ab1f;
$custom-light: #c0c369;
$custom-dark: #000000;
JSON
{
  "hex": "#a0ab1f",
  "rgb": {
    "r": 160,
    "g": 171,
    "b": 31
  },
  "hsl": {
    "h": 64.714,
    "s": 69.307,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70905,
    "c": 0.1515,
    "h": 114.4
  },
  "luminance": 0.36698
}

Semantic roles & 50–950 ramp

primary
#A0AB1F
secondary
#675EC7
accent
#3CEC4A
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A0AB1F

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

Preview Lab → · Contrast checker → · Palette generator →

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