#9DA71C#9DA71C

#9DA71C is a light, vivid yellow. Relative luminance 0.349; OKLCH L 69.7% C 0.149 H 114.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9DA71C
RGBrgb(157, 167, 28)
HSLhsl(64, 71%, 38%)
HSVhsv(64, 83%, 65%)
CMYKcmyk(6%, 0%, 83.2%, 34.5%)
CIE-LABlab(65.66, -19.56, 63.19)
CIE-LCHlch(65.66, 66.15, 107.20°)
OKLaboklab(69.73% -0.0609 0.1365)
OKLCHoklch(69.73% 0.149 114.1)
XYZxyz(27.9339, 34.8900, 6.3613)
Luminance0.3489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA71C #261CA7
analogous
#A76C1C #9DA71C #57A71C
triadic
#9DA71C #1C9DA7 #A71C9D
tetradic
#9DA71C #1CA76C #261CA7 #A71C57
square
#9DA71C #1CA76C #261CA7 #A71C57
split-complementary
#9DA71C #1C57A7 #6C1CA7
monochromatic
#3A3E0A #6C7313 #9DA71C #CEDB26 #D9E35A

Accessibility & contrast

On white

2.63
#9DA71C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9DA71C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA71C
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA71C#FFFFFF#000000##000000
##9DA71C1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#A89D8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9da71c;
/* rgb */ color: rgb(157, 167, 28);
/* oklch */ color: oklch(69.7% 0.149 114.1);
Tailwind
colors: {
  custom: {
    50: '#bec068',
    500: '#9da71c',
    950: '#000000',
  },
}
SCSS
$custom: #9da71c;
$custom-light: #bec068;
$custom-dark: #000000;
JSON
{
  "hex": "#9da71c",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 64.317,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6973,
    "c": 0.14946,
    "h": 114.1
  },
  "luminance": 0.34889
}

Semantic roles & 50–950 ramp

primary
#9DA71C
secondary
#6058C7
accent
#3AEE47
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA71C

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

Preview Lab → · Contrast checker → · Palette generator →

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