#9FA74B#9FA74B

#9FA74B is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.117 H 113.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA74B
RGBrgb(159, 167, 75)
HSLhsl(65, 38%, 47%)
HSVhsv(65, 55%, 65%)
CMYKcmyk(4.8%, 0%, 55.1%, 34.5%)
CIE-LABlab(66.15, -15.99, 45.85)
CIE-LCHlch(66.15, 48.56, 109.23°)
OKLaboklab(70.26% -0.0466 0.107)
OKLCHoklch(70.26% 0.117 113.5)
XYZxyz(29.3874, 35.5169, 11.9626)
Luminance0.3552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA74B #534BA7
analogous
#A7814B #9FA74B #71A74B
triadic
#9FA74B #4B9FA7 #A74B9F
tetradic
#9FA74B #4BA781 #534BA7 #A74B71
square
#9FA74B #4BA781 #534BA7 #A74B71
split-complementary
#9FA74B #4B71A7 #814BA7
monochromatic
#4F5325 #777D38 #9FA74B #B8BF70 #CDD29B

Accessibility & contrast

On white

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

On black

8.10
#9FA74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA74B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA74B#FFFFFF#000000##000000
##9FA74B1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fa74b;
/* rgb */ color: rgb(159, 167, 75);
/* oklch */ color: oklch(70.3% 0.117 113.5);
Tailwind
colors: {
  custom: {
    50: '#bdc180',
    500: '#9fa74b',
    950: '#000000',
  },
}
SCSS
$custom: #9fa74b;
$custom-light: #bdc180;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa74b",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 75
  },
  "hsl": {
    "h": 65.217,
    "s": 38.017,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.11675,
    "h": 113.5
  },
  "luminance": 0.35516
}

Semantic roles & 50–950 ramp

primary
#9FA74B
secondary
#948FBE
accent
#5ACE64
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA74B

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

Preview Lab → · Contrast checker → · Palette generator →

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