#9DA02C#9DA02C

#9DA02C is a light, vivid yellow. Relative luminance 0.325; OKLCH L 68.2% C 0.134 H 111.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#9DA02C
RGBrgb(157, 160, 44)
HSLhsl(62, 57%, 40%)
HSVhsv(62, 73%, 63%)
CMYKcmyk(1.9%, 0%, 72.5%, 37.3%)
CIE-LABlab(63.75, -15.34, 56.49)
CIE-LCHlch(63.75, 58.53, 105.19°)
OKLaboklab(68.22% -0.0479 0.1251)
OKLCHoklch(68.22% 0.134 111)
XYZxyz(26.9310, 32.4923, 7.2354)
Luminance0.3249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA02C #2F2CA0
analogous
#A0692C #9DA02C #63A02C
triadic
#9DA02C #2C9DA0 #A02C9D
tetradic
#9DA02C #2CA069 #2F2CA0 #A02C63
square
#9DA02C #2CA069 #2F2CA0 #A02C63
split-complementary
#9DA02C #2C63A0 #692CA0
monochromatic
#3F4012 #6E701F #9DA02C #C7CA3F #D5D76F

Accessibility & contrast

On white

2.80
#9DA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#9DA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA02C
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA02C#FFFFFF#000000##000000
##9DA02C1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9916
Deuteranopia (green-blind)
#AE9C35
Tritanopia (blue-blind)
#A8968A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9da02c;
/* rgb */ color: rgb(157, 160, 44);
/* oklch */ color: oklch(68.2% 0.134 111.0);
Tailwind
colors: {
  custom: {
    50: '#bdbb6e',
    500: '#9da02c',
    950: '#000000',
  },
}
SCSS
$custom: #9da02c;
$custom-light: #bdbb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9da02c",
  "rgb": {
    "r": 157,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 61.552,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.68221,
    "c": 0.13394,
    "h": 111
  },
  "luminance": 0.32492
}

Semantic roles & 50–950 ramp

primary
#9DA02C
secondary
#6B69BF
accent
#48E04C
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #9DA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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