#9FA73E#9FA73E

#9FA73E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.1% C 0.128 H 113.4°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#9FA73E
RGBrgb(159, 167, 62)
HSLhsl(65, 46%, 45%)
HSVhsv(65, 63%, 65%)
CMYKcmyk(4.8%, 0%, 62.9%, 34.5%)
CIE-LABlab(66.03, -17.00, 51.63)
CIE-LCHlch(66.03, 54.36, 108.23°)
OKLaboklab(70.13% -0.0508 0.1177)
OKLCHoklch(70.13% 0.128 113.4)
XYZxyz(28.9870, 35.3567, 9.8540)
Luminance0.3536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA73E #463EA7
analogous
#A77A3E #9FA73E #6BA73E
triadic
#9FA73E #3E9FA7 #A73E9F
tetradic
#9FA73E #3EA77A #463EA7 #A73E6B
square
#9FA73E #3EA77A #463EA7 #A73E6B
split-complementary
#9FA73E #3E6BA7 #7A3EA7
monochromatic
#4A4E1D #757A2D #9FA73E #BCC35F #CFD48B

Accessibility & contrast

On white

2.60
#9FA73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#9FA73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA73E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA73E#FFFFFF#000000##000000
##9FA73E1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F31
Deuteranopia (green-blind)
#B3A245
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa73e;
/* rgb */ color: rgb(159, 167, 62);
/* oklch */ color: oklch(70.1% 0.128 113.4);
Tailwind
colors: {
  custom: {
    50: '#bec178',
    500: '#9fa73e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa73e;
$custom-light: #bec178;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa73e",
  "rgb": {
    "r": 159,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 64.571,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70125,
    "c": 0.12822,
    "h": 113.4
  },
  "luminance": 0.35356
}

Semantic roles & 50–950 ramp

primary
#9FA73E
secondary
#8782BF
accent
#52D65C
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA73E

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

Preview Lab → · Contrast checker → · Palette generator →

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