#9FA247#9FA247

#9FA247 is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.115 H 110.8°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9FA247
RGBrgb(159, 162, 71)
HSLhsl(62, 39%, 46%)
HSVhsv(62, 56%, 64%)
CMYKcmyk(1.9%, 0%, 56.2%, 36.5%)
CIE-LABlab(64.70, -13.74, 46.09)
CIE-LCHlch(64.70, 48.09, 106.60°)
OKLaboklab(69.09% -0.0406 0.1071)
OKLCHoklch(69.09% 0.115 110.8)
XYZxyz(28.3564, 33.6672, 10.9647)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA247 #4A47A2
analogous
#A27747 #9FA247 #71A247
triadic
#9FA247 #479FA2 #A2479F
tetradic
#9FA247 #47A277 #4A47A2 #A24771
square
#9FA247 #47A277 #4A47A2 #A24771
split-complementary
#9FA247 #4771A2 #7747A2
monochromatic
#4B4D22 #757734 #9FA247 #BABD69 #CED094

Accessibility & contrast

On white

2.72
#9FA247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#9FA247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA247
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA247#FFFFFF#000000##000000
##9FA2471.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9B3E
Deuteranopia (green-blind)
#AE9E4C
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa247;
/* rgb */ color: rgb(159, 162, 71);
/* oklch */ color: oklch(69.1% 0.115 110.8);
Tailwind
colors: {
  custom: {
    50: '#bdbd7d',
    500: '#9fa247',
    950: '#000000',
  },
}
SCSS
$custom: #9fa247;
$custom-light: #bdbd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa247",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 71
  },
  "hsl": {
    "h": 61.978,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.11455,
    "h": 110.8
  },
  "luminance": 0.33667
}

Semantic roles & 50–950 ramp

primary
#9FA247
secondary
#8B89BC
accent
#59CF5D
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA247

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

Preview Lab → · Contrast checker → · Palette generator →

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