#9DA72A#9DA72A

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

Color values

HEX#9DA72A
RGBrgb(157, 167, 42)
HSLhsl(65, 60%, 41%)
HSVhsv(65, 75%, 65%)
CMYKcmyk(6%, 0%, 74.9%, 34.5%)
CIE-LABlab(65.73, -19.02, 59.08)
CIE-LCHlch(65.73, 62.07, 107.85°)
OKLaboklab(69.8% -0.0583 0.1302)
OKLCHoklch(69.8% 0.143 114.1)
XYZxyz(28.1421, 34.9733, 7.4581)
Luminance0.3497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA72A #342AA7
analogous
#A7722A #9DA72A #5EA72A
triadic
#9DA72A #2A9DA7 #A72A9D
tetradic
#9DA72A #2AA772 #342AA7 #A72A5E
square
#9DA72A #2AA772 #342AA7 #A72A5E
split-complementary
#9DA72A #2A5EA7 #722AA7
monochromatic
#414511 #6F761E #9DA72A #C3CF3F #D3DB70

Accessibility & contrast

On white

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

On black

7.99
#9DA72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DA72A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DA72A#FFFFFF#000000##000000
##9DA72A1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F0E
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#A89D8F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da72a;
/* rgb */ color: rgb(157, 167, 42);
/* oklch */ color: oklch(69.8% 0.143 114.1);
Tailwind
colors: {
  custom: {
    50: '#bdc16d',
    500: '#9da72a',
    950: '#000000',
  },
}
SCSS
$custom: #9da72a;
$custom-light: #bdc16d;
$custom-dark: #000000;
JSON
{
  "hex": "#9da72a",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 42
  },
  "hsl": {
    "h": 64.8,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69803,
    "c": 0.14267,
    "h": 114.1
  },
  "luminance": 0.34973
}

Semantic roles & 50–950 ramp

primary
#9DA72A
secondary
#726BC2
accent
#45E351
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA72A

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

Preview Lab → · Contrast checker → · Palette generator →

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