#9FAF4E#9FAF4E

#9FAF4E is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.1% C 0.124 H 117.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9FAF4E
RGBrgb(159, 175, 78)
HSLhsl(70, 38%, 50%)
HSVhsv(70, 55%, 69%)
CMYKcmyk(9.1%, 0%, 55.4%, 31.4%)
CIE-LABlab(68.45, -19.81, 47.07)
CIE-LCHlch(68.45, 51.06, 112.82°)
OKLaboklab(72.11% -0.0571 0.11)
OKLCHoklch(72.11% 0.124 117.4)
XYZxyz(31.0036, 38.5812, 13.0199)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF4E #5E4EAF
analogous
#AF8F4E #9FAF4E #6FAF4E
triadic
#9FAF4E #4E9FAF #AF4E9F
tetradic
#9FAF4E #4EAF8F #5E4EAF #AF4E6F
square
#9FAF4E #4EAF8F #5E4EAF #AF4E6F
split-complementary
#9FAF4E #4E6FAF #8F4EAF
monochromatic
#525A28 #79853B #9FAF4E #B6C378 #CDD6A2

Accessibility & contrast

On white

2.41
#9FAF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9FAF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF4E
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF4E#FFFFFF#000000##000000
##9FAF4E1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA744
Deuteranopia (green-blind)
#B8A854
Tritanopia (blue-blind)
#A7A69A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9faf4e;
/* rgb */ color: rgb(159, 175, 78);
/* oklch */ color: oklch(72.1% 0.124 117.4);
Tailwind
colors: {
  custom: {
    50: '#bdc683',
    500: '#9faf4e',
    950: '#000000',
  },
}
SCSS
$custom: #9faf4e;
$custom-light: #bdc683;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf4e",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 69.897,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72113,
    "c": 0.12391,
    "h": 117.4
  },
  "luminance": 0.38581
}

Semantic roles & 50–950 ramp

primary
#9FAF4E
secondary
#9E96C3
accent
#5ACE6D
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FAF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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