#9FA54E#9FA54E

#9FA54E is a light, moderate yellow. Relative luminance 0.348; OKLCH L 69.8% C 0.111 H 112.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#9FA54E
RGBrgb(159, 165, 78)
HSLhsl(64, 36%, 48%)
HSVhsv(64, 53%, 65%)
CMYKcmyk(3.6%, 0%, 52.7%, 35.3%)
CIE-LABlab(65.62, -14.69, 43.79)
CIE-LCHlch(65.62, 46.19, 108.55°)
OKLaboklab(69.85% -0.0426 0.1029)
OKLCHoklch(69.85% 0.111 112.5)
XYZxyz(29.1289, 34.8318, 12.3950)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA54E #544EA5
analogous
#A57F4E #9FA54E #73A54E
triadic
#9FA54E #4E9FA5 #A54E9F
tetradic
#9FA54E #4EA57F #544EA5 #A54E73
square
#9FA54E #4EA57F #544EA5 #A54E73
split-complementary
#9FA54E #4E73A5 #7F4EA5
monochromatic
#4F5227 #777B3A #9FA54E #B8BD73 #CDD19D

Accessibility & contrast

On white

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

On black

7.97
#9FA54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA54E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA54E#FFFFFF#000000##000000
##9FA54E1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E46
Deuteranopia (green-blind)
#B0A053
Tritanopia (blue-blind)
#A89C91
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9fa54e;
/* rgb */ color: rgb(159, 165, 78);
/* oklch */ color: oklch(69.8% 0.111 112.5);
Tailwind
colors: {
  custom: {
    50: '#bdbf82',
    500: '#9fa54e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa54e;
$custom-light: #bdbf82;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa54e",
  "rgb": {
    "r": 159,
    "g": 165,
    "b": 78
  },
  "hsl": {
    "h": 64.138,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6985,
    "c": 0.11139,
    "h": 112.5
  },
  "luminance": 0.34831
}

Semantic roles & 50–950 ramp

primary
#9FA54E
secondary
#9491BD
accent
#5CCC64
background
#FBFBF8
surface
#F7F7EF
border
#D0D0CA
text
#12120B
muted
#81817C

Preview Lab

Preview with #9FA54E

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

Preview Lab → · Contrast checker → · Palette generator →

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