#9DA81C#9DA81C

#9DA81C is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.0% C 0.151 H 114.5°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#9DA81C
RGBrgb(157, 168, 28)
HSLhsl(65, 71%, 38%)
HSVhsv(65, 83%, 66%)
CMYKcmyk(6.5%, 0%, 83.3%, 34.1%)
CIE-LABlab(65.95, -20.07, 63.44)
CIE-LCHlch(65.95, 66.54, 107.56°)
OKLaboklab(69.96% -0.0623 0.137)
OKLCHoklch(69.96% 0.151 114.5)
XYZxyz(28.1178, 35.2578, 6.4226)
Luminance0.3526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA81C #271CA8
analogous
#A86D1C #9DA81C #57A81C
triadic
#9DA81C #1C9DA8 #A81C9D
tetradic
#9DA81C #1CA86D #271CA8 #A81C57
square
#9DA81C #1CA86D #271CA8 #A81C57
split-complementary
#9DA81C #1C57A8 #6D1CA8
monochromatic
#3B3F0B #6C7413 #9DA81C #CDDB26 #D9E45B

Accessibility & contrast

On white

2.61
#9DA81C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#9DA81C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA81C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA81C#FFFFFF#000000##000000
##9DA81C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F00
Deuteranopia (green-blind)
#B4A12B
Tritanopia (blue-blind)
#A89E8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da81c;
/* rgb */ color: rgb(157, 168, 28);
/* oklch */ color: oklch(70.0% 0.151 114.5);
Tailwind
colors: {
  custom: {
    50: '#bec168',
    500: '#9da81c',
    950: '#000000',
  },
}
SCSS
$custom: #9da81c;
$custom-light: #bec168;
$custom-dark: #000000;
JSON
{
  "hex": "#9da81c",
  "rgb": {
    "r": 157,
    "g": 168,
    "b": 28
  },
  "hsl": {
    "h": 64.714,
    "s": 71.429,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6996,
    "c": 0.15051,
    "h": 114.5
  },
  "luminance": 0.35257
}

Semantic roles & 50–950 ramp

primary
#9DA81C
secondary
#6158C7
accent
#3AEE48
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9DA81C

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

Preview Lab → · Contrast checker → · Palette generator →

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