#9DA017#9DA017

#9DA017 is a light, vivid yellow. Relative luminance 0.324; OKLCH L 68.1% C 0.144 H 111.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9DA017
RGBrgb(157, 160, 23)
HSLhsl(61, 75%, 36%)
HSVhsv(61, 86%, 63%)
CMYKcmyk(1.9%, 0%, 85.6%, 37.3%)
CIE-LABlab(63.65, -16.14, 62.70)
CIE-LCHlch(63.65, 64.74, 104.43°)
OKLaboklab(68.11% -0.0518 0.1346)
OKLCHoklch(68.11% 0.144 111.1)
XYZxyz(26.6311, 32.3723, 5.6561)
Luminance0.3237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA017 #1A17A0
analogous
#A05E17 #9DA017 #58A017
triadic
#9DA017 #179DA0 #A0179D
tetradic
#9DA017 #17A05E #1A17A0 #A01758
square
#9DA017 #17A05E #1A17A0 #A01758
split-complementary
#9DA017 #1758A0 #5E17A0
monochromatic
#343508 #686A0F #9DA017 #D2D61F #E2E54C

Accessibility & contrast

On white

2.81
#9DA017 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9DA017 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA017
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA017#FFFFFF#000000##000000
##9DA0171.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#AE9C26
Tritanopia (blue-blind)
#A99588
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da017;
/* rgb */ color: rgb(157, 160, 23);
/* oklch */ color: oklch(68.1% 0.144 111.1);
Tailwind
colors: {
  custom: {
    50: '#bebb65',
    500: '#9da017',
    950: '#000000',
  },
}
SCSS
$custom: #9da017;
$custom-light: #bebb65;
$custom-dark: #000000;
JSON
{
  "hex": "#9da017",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 61.314,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.68111,
    "c": 0.14418,
    "h": 111.1
  },
  "luminance": 0.32372
}

Semantic roles & 50–950 ramp

primary
#9DA017
secondary
#4E4CC7
accent
#36F13A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9DA017

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

Preview Lab → · Contrast checker → · Palette generator →

#9DA017 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva