#9FA55E#9FA55E

#9FA55E is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.094 H 112.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9FA55E
RGBrgb(159, 165, 94)
HSLhsl(65, 28%, 51%)
HSVhsv(65, 43%, 65%)
CMYKcmyk(3.6%, 0%, 43%, 35.3%)
CIE-LABlab(65.82, -13.09, 35.99)
CIE-LCHlch(65.82, 38.29, 109.99°)
OKLaboklab(70.08% -0.0365 0.087)
OKLCHoklch(70.08% 0.094 112.8)
XYZxyz(29.7739, 35.0898, 15.7920)
Luminance0.3509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA55E #645EA5
analogous
#A5875E #9FA55E #7BA55E
triadic
#9FA55E #5E9FA5 #A55E9F
tetradic
#9FA55E #5EA587 #645EA5 #A55E7B
square
#9FA55E #5EA587 #645EA5 #A55E7B
split-complementary
#9FA55E #5E7BA5 #875EA5
monochromatic
#545831 #7A7F47 #9FA55E #B6BB85 #CED1AD

Accessibility & contrast

On white

2.62
#9FA55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9FA55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA55E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA55E#FFFFFF#000000##000000
##9FA55E1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F58
Deuteranopia (green-blind)
#AEA161
Tritanopia (blue-blind)
#A79E94
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa55e;
/* rgb */ color: rgb(159, 165, 94);
/* oklch */ color: oklch(70.1% 0.094 112.8);
Tailwind
colors: {
  custom: {
    50: '#bcbf8d',
    500: '#9fa55e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa55e;
$custom-light: #bcbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa55e",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 94
  },
  "hsl": {
    "h": 65.07,
    "s": 28.287,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70075,
    "c": 0.09434,
    "h": 112.8
  },
  "luminance": 0.35089
}

Semantic roles & 50–950 ramp

primary
#9FA55E
secondary
#A2A0BF
accent
#63C56B
background
#FBFBF8
surface
#F7F7F0
border
#D0D0CB
text
#12120C
muted
#81817D

Preview Lab

Preview with #9FA55E

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

Preview Lab → · Contrast checker → · Palette generator →

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