#9FA426#9FA426

#9FA426 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.3% C 0.141 H 111.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9FA426
RGBrgb(159, 164, 38)
HSLhsl(62, 62%, 40%)
HSVhsv(62, 77%, 64%)
CMYKcmyk(3%, 0%, 76.8%, 35.7%)
CIE-LABlab(65.01, -16.80, 59.80)
CIE-LCHlch(65.01, 62.11, 105.69°)
OKLaboklab(69.26% -0.0526 0.1309)
OKLCHoklch(69.26% 0.141 111.9)
XYZxyz(27.9243, 34.0625, 6.9371)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA426 #2B26A4
analogous
#A46A26 #9FA426 #60A426
triadic
#9FA426 #269FA4 #A4269F
tetradic
#9FA426 #26A46A #2B26A4 #A42660
square
#9FA426 #26A46A #2B26A4 #A42660
split-complementary
#9FA426 #2660A4 #6A26A4
monochromatic
#3F410F #6F721A #9FA426 #CAD137 #D7DC68

Accessibility & contrast

On white

2.69
#9FA426 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#9FA426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA426
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA426#FFFFFF#000000##000000
##9FA4261.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B29F31
Tritanopia (blue-blind)
#AA9A8C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa426;
/* rgb */ color: rgb(159, 164, 38);
/* oklch */ color: oklch(69.3% 0.141 111.9);
Tailwind
colors: {
  custom: {
    50: '#bfbe6b',
    500: '#9fa426',
    950: '#000000',
  },
}
SCSS
$custom: #9fa426;
$custom-light: #bfbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa426",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 62.381,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.69262,
    "c": 0.1411,
    "h": 111.9
  },
  "luminance": 0.34062
}

Semantic roles & 50–950 ramp

primary
#9FA426
secondary
#6764C2
accent
#42E549
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA426

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

Preview Lab → · Contrast checker → · Palette generator →

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