#9FA620#9FA620

#9FA620 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.7% C 0.146 H 112.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9FA620
RGBrgb(159, 166, 32)
HSLhsl(63, 68%, 39%)
HSVhsv(63, 81%, 65%)
CMYKcmyk(4.2%, 0%, 80.7%, 34.9%)
CIE-LABlab(65.55, -18.05, 62.09)
CIE-LCHlch(65.55, 64.66, 106.21°)
OKLaboklab(69.69% -0.0566 0.1347)
OKLCHoklch(69.69% 0.146 112.8)
XYZxyz(28.1960, 34.7483, 6.5880)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA620 #2720A6
analogous
#A66A20 #9FA620 #5CA620
triadic
#9FA620 #209FA6 #A6209F
tetradic
#9FA620 #20A66A #2720A6 #A6205C
square
#9FA620 #20A66A #2720A6 #A6205C
split-complementary
#9FA620 #205CA6 #6A20A6
monochromatic
#3D3F0C #6E7316 #9FA620 #CED62D #DAE060

Accessibility & contrast

On white

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

On black

7.95
#9FA620 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA620
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA620#FFFFFF#000000##000000
##9FA6201.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B3A12D
Tritanopia (blue-blind)
#AA9B8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa620;
/* rgb */ color: rgb(159, 166, 32);
/* oklch */ color: oklch(69.7% 0.146 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc069',
    500: '#9fa620',
    950: '#000000',
  },
}
SCSS
$custom: #9fa620;
$custom-light: #bfc069;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa620",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 63.134,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.14612,
    "h": 112.8
  },
  "luminance": 0.34748
}

Semantic roles & 50–950 ramp

primary
#9FA620
secondary
#625DC5
accent
#3DEB46
background
#FCFBF6
surface
#F8F7EB
border
#D1D0C6
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA620

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

Preview Lab → · Contrast checker → · Palette generator →

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