#A0B317#A0B317

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

Color values

HEX#A0B317
RGBrgb(160, 179, 23)
HSLhsl(67, 77%, 40%)
HSVhsv(67, 87%, 70%)
CMYKcmyk(10.6%, 0%, 87.2%, 29.8%)
CIE-LABlab(69.31, -24.38, 67.48)
CIE-LCHlch(69.31, 71.75, 109.87°)
OKLaboklab(72.71% -0.0746 0.1448)
OKLCHoklch(72.71% 0.163 117.3)
XYZxyz(30.7728, 39.7760, 6.8669)
Luminance0.3978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0B317 #2A17B3
analogous
#B37817 #A0B317 #52B317
triadic
#A0B317 #17A0B3 #B317A0
tetradic
#A0B317 #17B378 #2A17B3 #B31752
square
#A0B317 #17B378 #2A17B3 #B31752
split-complementary
#A0B317 #1752B3 #7817B3
monochromatic
#3F4709 #707D10 #A0B317 #CCE324 #D8EA5B

Accessibility & contrast

On white

2.35
#A0B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A0B317#FFFFFF#000000##000000
##A0B3171.002.358.968.96
#FFFFFF2.351.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BEAA2A
Tritanopia (blue-blind)
#ABA898
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a0b317;
/* rgb */ color: rgb(160, 179, 23);
/* oklch */ color: oklch(72.7% 0.163 117.3);
Tailwind
colors: {
  custom: {
    50: '#c0c968',
    500: '#a0b317',
    950: '#000000',
  },
}
SCSS
$custom: #a0b317;
$custom-light: #c0c968;
$custom-dark: #000000;
JSON
{
  "hex": "#a0b317",
  "rgb": {
    "r": 160,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 67.308,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.16292,
    "h": 117.3
  },
  "luminance": 0.39776
}

Semantic roles & 50–950 ramp

primary
#A0B317
secondary
#6758CD
accent
#34F44B
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A

Preview Lab

Preview with #A0B317

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

Preview Lab → · Contrast checker → · Palette generator →

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