#9FA72E#9FA72E

#9FA72E is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.0% C 0.140 H 113.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#9FA72E
RGBrgb(159, 167, 46)
HSLhsl(64, 57%, 42%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.8%, 0%, 72.5%, 34.5%)
CIE-LABlab(65.91, -17.96, 57.90)
CIE-LCHlch(65.91, 60.62, 107.23°)
OKLaboklab(69.99% -0.0551 0.1284)
OKLCHoklch(69.99% 0.14 113.3)
XYZxyz(28.6108, 35.2062, 7.8726)
Luminance0.3521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA72E #362EA7
analogous
#A7732E #9FA72E #63A72E
triadic
#9FA72E #2E9FA7 #A72E9F
tetradic
#9FA72E #2EA773 #362EA7 #A72E63
square
#9FA72E #2EA773 #362EA7 #A72E63
split-complementary
#9FA72E #2E63A7 #732EA7
monochromatic
#444714 #717721 #9FA72E #C3CC46 #D3D976

Accessibility & contrast

On white

2.61
#9FA72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#9FA72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA72E
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA72E#FFFFFF#000000##000000
##9FA72E1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#B4A138
Tritanopia (blue-blind)
#AA9D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa72e;
/* rgb */ color: rgb(159, 167, 46);
/* oklch */ color: oklch(70.0% 0.140 113.3);
Tailwind
colors: {
  custom: {
    50: '#bfc16f',
    500: '#9fa72e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa72e;
$custom-light: #bfc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa72e",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 63.967,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69995,
    "c": 0.1397,
    "h": 113.3
  },
  "luminance": 0.35206
}

Semantic roles & 50–950 ramp

primary
#9FA72E
secondary
#7570C1
accent
#48E052
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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