#9FA74E#9FA74E

#9FA74E is a light, moderate yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.114 H 113.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#9FA74E
RGBrgb(159, 167, 78)
HSLhsl(65, 36%, 48%)
HSVhsv(65, 53%, 65%)
CMYKcmyk(4.8%, 0%, 53.3%, 34.5%)
CIE-LABlab(66.18, -15.73, 44.45)
CIE-LCHlch(66.18, 47.15, 109.49°)
OKLaboklab(70.3% -0.0455 0.1043)
OKLCHoklch(70.3% 0.114 113.6)
XYZxyz(29.4925, 35.5589, 12.5162)
Luminance0.3556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA74E #564EA7
analogous
#A7824E #9FA74E #72A74E
triadic
#9FA74E #4E9FA7 #A74E9F
tetradic
#9FA74E #4EA782 #564EA7 #A74E72
square
#9FA74E #4EA782 #564EA7 #A74E72
split-complementary
#9FA74E #4E72A7 #824EA7
monochromatic
#505427 #777D3B #9FA74E #B7BE74 #CDD29E

Accessibility & contrast

On white

2.59
#9FA74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#9FA74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA74E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA74E#FFFFFF#000000##000000
##9FA74E1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A045
Deuteranopia (green-blind)
#B2A253
Tritanopia (blue-blind)
#A89E93
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa74e;
/* rgb */ color: rgb(159, 167, 78);
/* oklch */ color: oklch(70.3% 0.114 113.6);
Tailwind
colors: {
  custom: {
    50: '#bdc182',
    500: '#9fa74e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa74e;
$custom-light: #bdc182;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa74e",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 65.393,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.703,
    "c": 0.11385,
    "h": 113.6
  },
  "luminance": 0.35558
}

Semantic roles & 50–950 ramp

primary
#9FA74E
secondary
#9692BE
accent
#5BCC66
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA74E

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

Preview Lab → · Contrast checker → · Palette generator →

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