#9FA442#9FA442

#9FA442 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.121 H 111.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9FA442
RGBrgb(159, 164, 66)
HSLhsl(63, 43%, 45%)
HSVhsv(63, 60%, 64%)
CMYKcmyk(3%, 0%, 59.8%, 35.7%)
CIE-LABlab(65.21, -15.17, 48.97)
CIE-LCHlch(65.21, 51.27, 107.21°)
OKLaboklab(69.49% -0.0452 0.1126)
OKLCHoklch(69.49% 0.121 111.9)
XYZxyz(28.5576, 34.3158, 10.2725)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA442 #4742A4
analogous
#A47842 #9FA442 #6EA442
triadic
#9FA442 #429FA4 #A4429F
tetradic
#9FA442 #42A478 #4742A4 #A4426E
square
#9FA442 #42A478 #4742A4 #A4426E
split-complementary
#9FA442 #426EA4 #7842A4
monochromatic
#4A4D1F #757830 #9FA442 #BBC063 #CED28F

Accessibility & contrast

On white

2.67
#9FA442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#9FA442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA442
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA442#FFFFFF#000000##000000
##9FA4421.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D37
Deuteranopia (green-blind)
#B0A048
Tritanopia (blue-blind)
#A99B8F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa442;
/* rgb */ color: rgb(159, 164, 66);
/* oklch */ color: oklch(69.5% 0.121 111.9);
Tailwind
colors: {
  custom: {
    50: '#bebe7a',
    500: '#9fa442',
    950: '#000000',
  },
}
SCSS
$custom: #9fa442;
$custom-light: #bebe7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa442",
  "rgb": {
    "r": 159,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 63.061,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69487,
    "c": 0.12139,
    "h": 111.9
  },
  "luminance": 0.34315
}

Semantic roles & 50–950 ramp

primary
#9FA442
secondary
#8885BD
accent
#55D25C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA442

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

Preview Lab → · Contrast checker → · Palette generator →

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