#9FA62D#9FA62D

#9FA62D 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#9FA62D
RGBrgb(159, 166, 45)
HSLhsl(63, 57%, 41%)
HSVhsv(63, 73%, 65%)
CMYKcmyk(4.2%, 0%, 72.9%, 34.9%)
CIE-LABlab(65.62, -17.50, 57.98)
CIE-LCHlch(65.62, 60.57, 106.80°)
OKLaboklab(69.76% -0.054 0.1284)
OKLCHoklch(69.76% 0.139 112.8)
XYZxyz(28.4088, 34.8335, 7.7091)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA62D #342DA6
analogous
#A6712D #9FA62D #63A62D
triadic
#9FA62D #2D9FA6 #A62D9F
tetradic
#9FA62D #2DA671 #342DA6 #A62D63
square
#9FA62D #2DA671 #342DA6 #A62D63
split-complementary
#9FA62D #2D63A6 #712DA6
monochromatic
#434613 #717620 #9FA62D #C4CC44 #D3D974

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA62D#FFFFFF#000000##000000
##9FA62D1.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)
#B39E16
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#AA9C8F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa62d;
/* rgb */ color: rgb(159, 166, 45);
/* oklch */ color: oklch(69.8% 0.139 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06f',
    500: '#9fa62d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa62d;
$custom-light: #bfc06f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa62d",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 63.471,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6976,
    "c": 0.13923,
    "h": 112.8
  },
  "luminance": 0.34833
}

Semantic roles & 50–950 ramp

primary
#9FA62D
secondary
#736EC1
accent
#47E150
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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