#9DA72F#9DA72F

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

Color values

HEX#9DA72F
RGBrgb(157, 167, 47)
HSLhsl(65, 56%, 42%)
HSVhsv(65, 72%, 65%)
CMYKcmyk(6%, 0%, 71.9%, 34.5%)
CIE-LABlab(65.76, -18.77, 57.34)
CIE-LCHlch(65.76, 60.33, 108.13°)
OKLaboklab(69.84% -0.0572 0.1274)
OKLCHoklch(69.84% 0.14 114.2)
XYZxyz(28.2372, 35.0113, 7.9591)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DA72F #392FA7
analogous
#A7752F #9DA72F #61A72F
triadic
#9DA72F #2F9DA7 #A72F9D
tetradic
#9DA72F #2FA775 #392FA7 #A72F61
square
#9DA72F #2FA775 #392FA7 #A72F61
split-complementary
#9DA72F #2F61A7 #752FA7
monochromatic
#434714 #707722 #9DA72F #C0CB48 #D1D978

Accessibility & contrast

On white

2.62
#9DA72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9DA72F#FFFFFF#000000##000000
##9DA72F1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F19
Deuteranopia (green-blind)
#B3A138
Tritanopia (blue-blind)
#A79D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9da72f;
/* rgb */ color: rgb(157, 167, 47);
/* oklch */ color: oklch(69.8% 0.140 114.2);
Tailwind
colors: {
  custom: {
    50: '#bdc170',
    500: '#9da72f',
    950: '#000000',
  },
}
SCSS
$custom: #9da72f;
$custom-light: #bdc170;
$custom-dark: #000000;
JSON
{
  "hex": "#9da72f",
  "rgb": {
    "r": 157,
    "g": 167,
    "b": 47
  },
  "hsl": {
    "h": 65,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69836,
    "c": 0.13965,
    "h": 114.2
  },
  "luminance": 0.35011
}

Semantic roles & 50–950 ramp

primary
#9DA72F
secondary
#7871C1
accent
#48DF55
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9DA72F

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

Preview Lab → · Contrast checker → · Palette generator →

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