#9FA62E#9FA62E

#9FA62E is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.139 H 112.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9FA62E
RGBrgb(159, 166, 46)
HSLhsl(64, 57%, 42%)
HSVhsv(64, 72%, 65%)
CMYKcmyk(4.2%, 0%, 72.3%, 34.9%)
CIE-LABlab(65.62, -17.45, 57.63)
CIE-LCHlch(65.62, 60.21, 106.85°)
OKLaboklab(69.77% -0.0537 0.1278)
OKLCHoklch(69.77% 0.139 112.8)
XYZxyz(28.4283, 34.8413, 7.8117)
Luminance0.3484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA62E #352EA6
analogous
#A6712E #9FA62E #63A62E
triadic
#9FA62E #2E9FA6 #A62E9F
tetradic
#9FA62E #2EA671 #352EA6 #A62E63
square
#9FA62E #2EA671 #352EA6 #A62E63
split-complementary
#9FA62E #2E63A6 #712EA6
monochromatic
#434613 #717621 #9FA62E #C4CC46 #D3D976

Accessibility & contrast

On white

2.64
#9FA62E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#9FA62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA62E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA62E#FFFFFF#000000##000000
##9FA62E1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E18
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa62e;
/* rgb */ color: rgb(159, 166, 46);
/* oklch */ color: oklch(69.8% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06f',
    500: '#9fa62e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa62e;
$custom-light: #bfc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa62e",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 63.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.13861,
    "h": 112.8
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

primary
#9FA62E
secondary
#746FC1
accent
#48E051
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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