#9FA142#9FA142

#9FA142 is a light, moderate yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.118 H 110.3°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9FA142
RGBrgb(159, 161, 66)
HSLhsl(61, 42%, 45%)
HSVhsv(61, 59%, 63%)
CMYKcmyk(1.2%, 0%, 59%, 36.9%)
CIE-LABlab(64.37, -13.61, 48.04)
CIE-LCHlch(64.37, 49.93, 105.81°)
OKLaboklab(68.81% -0.0408 0.1107)
OKLCHoklch(68.81% 0.118 110.3)
XYZxyz(28.0271, 33.2547, 10.0956)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA142 #4442A1
analogous
#A17442 #9FA142 #70A142
triadic
#9FA142 #429FA1 #A1429F
tetradic
#9FA142 #42A174 #4442A1 #A14270
square
#9FA142 #42A174 #4442A1 #A14270
split-complementary
#9FA142 #4270A1 #7442A1
monochromatic
#494A1E #747630 #9FA142 #BDBF62 #CFD08D

Accessibility & contrast

On white

2.74
#9FA142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#9FA142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA142
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA142#FFFFFF#000000##000000
##9FA1421.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A37
Deuteranopia (green-blind)
#AE9D48
Tritanopia (blue-blind)
#A9988D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa142;
/* rgb */ color: rgb(159, 161, 66);
/* oklch */ color: oklch(68.8% 0.118 110.3);
Tailwind
colors: {
  custom: {
    50: '#bebc7a',
    500: '#9fa142',
    950: '#000000',
  },
}
SCSS
$custom: #9fa142;
$custom-light: #bebc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa142",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 61.263,
    "s": 41.85,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68811,
    "c": 0.11795,
    "h": 110.3
  },
  "luminance": 0.33254
}

Semantic roles & 50–950 ramp

primary
#9FA142
secondary
#8583BB
accent
#56D259
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA142

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

Preview Lab → · Contrast checker → · Palette generator →

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