#9DA72D#9DA72D

#9DA72D is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.8% C 0.141 H 114.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9DA72D
RGBrgb(157, 167, 45)
HSLhsl(65, 58%, 42%)
HSVhsv(65, 73%, 65%)
CMYKcmyk(6%, 0%, 73.1%, 34.5%)
CIE-LABlab(65.75, -18.88, 58.05)
CIE-LCHlch(65.75, 61.04, 108.01°)
OKLaboklab(69.82% -0.0577 0.1286)
OKLCHoklch(69.82% 0.141 114.2)
XYZxyz(28.1978, 34.9955, 7.7515)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA72D #372DA7
analogous
#A7742D #9DA72D #60A72D
triadic
#9DA72D #2D9DA7 #A72D9D
tetradic
#9DA72D #2DA774 #372DA7 #A72D60
square
#9DA72D #2DA774 #372DA7 #A72D60
split-complementary
#9DA72D #2D60A7 #742DA7
monochromatic
#424713 #707720 #9DA72D #C2CD44 #D1DA75

Accessibility & contrast

On white

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

On black

8.00
#9DA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA72D
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA72D#FFFFFF#000000##000000
##9DA72D1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F15
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#A79D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da72d;
/* rgb */ color: rgb(157, 167, 45);
/* oklch */ color: oklch(69.8% 0.141 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc16f',
    500: '#9da72d',
    950: '#000000',
  },
}
SCSS
$custom: #9da72d;
$custom-light: #bdc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9da72d",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 64.918,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69823,
    "c": 0.14089,
    "h": 114.2
  },
  "luminance": 0.34995
}

Semantic roles & 50–950 ramp

primary
#9DA72D
secondary
#756EC1
accent
#47E154
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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