#9FA622#9FA622

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

Color values

HEX#9FA622
RGBrgb(159, 166, 34)
HSLhsl(63, 66%, 39%)
HSVhsv(63, 80%, 65%)
CMYKcmyk(4.2%, 0%, 79.5%, 34.9%)
CIE-LABlab(65.56, -17.98, 61.52)
CIE-LCHlch(65.56, 64.10, 106.29°)
OKLaboklab(69.7% -0.0562 0.1339)
OKLCHoklch(69.7% 0.145 112.8)
XYZxyz(28.2240, 34.7595, 6.7355)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA622 #2922A6
analogous
#A66B22 #9FA622 #5DA622
triadic
#9FA622 #229FA6 #A6229F
tetradic
#9FA622 #22A66B #2922A6 #A6225D
square
#9FA622 #22A66B #2922A6 #A6225D
split-complementary
#9FA622 #225DA6 #6B22A6
monochromatic
#3E400D #6E7318 #9FA622 #CCD530 #D9DF63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA622#FFFFFF#000000##000000
##9FA6221.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)
#B3A12E
Tritanopia (blue-blind)
#AA9C8E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa622;
/* rgb */ color: rgb(159, 166, 34);
/* oklch */ color: oklch(69.7% 0.145 112.8);
Tailwind
colors: {
  custom: {
    50: '#bfc06a',
    500: '#9fa622',
    950: '#000000',
  },
}
SCSS
$custom: #9fa622;
$custom-light: #bfc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa622",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 34
  },
  "hsl": {
    "h": 63.182,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.69696,
    "c": 0.1452,
    "h": 112.8
  },
  "luminance": 0.34759
}

Semantic roles & 50–950 ramp

primary
#9FA622
secondary
#655FC4
accent
#3FE948
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA622

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

Preview Lab → · Contrast checker → · Palette generator →

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