#9FA34D#9FA34D

#9FA34D is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.110 H 111.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9FA34D
RGBrgb(159, 163, 77)
HSLhsl(63, 36%, 47%)
HSVhsv(63, 53%, 64%)
CMYKcmyk(2.5%, 0%, 52.8%, 36.1%)
CIE-LABlab(65.04, -13.74, 43.61)
CIE-LCHlch(65.04, 45.72, 107.49°)
OKLaboklab(69.39% -0.04 0.1024)
OKLCHoklch(69.39% 0.11 111.3)
XYZxyz(28.7354, 34.1017, 12.0883)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA34D #514DA3
analogous
#A37C4D #9FA34D #74A34D
triadic
#9FA34D #4D9FA3 #A34D9F
tetradic
#9FA34D #4DA37C #514DA3 #A34D74
square
#9FA34D #4DA37C #514DA3 #A34D74
split-complementary
#9FA34D #4D74A3 #7C4DA3
monochromatic
#4E5026 #767939 #9FA34D #B9BC71 #CDD09B

Accessibility & contrast

On white

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

On black

7.82
#9FA34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA34D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA34D#FFFFFF#000000##000000
##9FA34D1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D45
Deuteranopia (green-blind)
#AE9F52
Tritanopia (blue-blind)
#A89A90
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9fa34d;
/* rgb */ color: rgb(159, 163, 77);
/* oklch */ color: oklch(69.4% 0.110 111.3);
Tailwind
colors: {
  custom: {
    50: '#bdbe81',
    500: '#9fa34d',
    950: '#000000',
  },
}
SCSS
$custom: #9fa34d;
$custom-light: #bdbe81;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa34d",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 77
  },
  "hsl": {
    "h": 62.791,
    "s": 35.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.69388,
    "c": 0.10995,
    "h": 111.3
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#9FA34D
secondary
#9290BC
accent
#5CCC61
background
#FBFBF8
surface
#F7F6EF
border
#D0D0CA
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA34D

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

Preview Lab → · Contrast checker → · Palette generator →

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