#9DAF2F#9DAF2F

#9DAF2F is a light, vivid yellow. Relative luminance 0.380; OKLCH L 71.7% C 0.149 H 117.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#9DAF2F
RGBrgb(157, 175, 47)
HSLhsl(68, 58%, 44%)
HSVhsv(68, 73%, 69%)
CMYKcmyk(10.3%, 0%, 73.1%, 31.4%)
CIE-LABlab(68.05, -22.79, 59.55)
CIE-LCHlch(68.05, 63.76, 110.94°)
OKLaboklab(71.67% -0.0683 0.1321)
OKLCHoklch(71.67% 0.149 117.4)
XYZxyz(29.7484, 38.0336, 8.4629)
Luminance0.3803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DAF2F #412FAF
analogous
#AF812F #9DAF2F #5DAF2F
triadic
#9DAF2F #2F9DAF #AF2F9D
tetradic
#9DAF2F #2FAF81 #412FAF #AF2F5D
square
#9DAF2F #2FAF81 #412FAF #AF2F5D
split-complementary
#9DAF2F #2F5DAF #812FAF
monochromatic
#464F15 #727F22 #9DAF2F #BDCF4C #CFDC7C

Accessibility & contrast

On white

2.44
#9DAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#9DAF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DAF2F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DAF2F#FFFFFF#000000##000000
##9DAF2F1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA516
Deuteranopia (green-blind)
#B9A73A
Tritanopia (blue-blind)
#A7A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9daf2f;
/* rgb */ color: rgb(157, 175, 47);
/* oklch */ color: oklch(71.7% 0.149 117.4);
Tailwind
colors: {
  custom: {
    50: '#bdc671',
    500: '#9daf2f',
    950: '#000000',
  },
}
SCSS
$custom: #9daf2f;
$custom-light: #bdc671;
$custom-dark: #000000;
JSON
{
  "hex": "#9daf2f",
  "rgb": {
    "r": 157,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 68.438,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.1487,
    "h": 117.4
  },
  "luminance": 0.38033
}

Semantic roles & 50–950 ramp

primary
#9DAF2F
secondary
#8075C4
accent
#47E15D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9DAF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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