#9FA246#9FA246

#9FA246 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#9FA246
RGBrgb(159, 162, 70)
HSLhsl(62, 40%, 45%)
HSVhsv(62, 57%, 64%)
CMYKcmyk(1.9%, 0%, 56.8%, 36.5%)
CIE-LABlab(64.69, -13.82, 46.54)
CIE-LCHlch(64.69, 48.55, 106.53°)
OKLaboklab(69.08% -0.041 0.108)
OKLCHoklch(69.08% 0.115 110.8)
XYZxyz(28.3246, 33.6544, 10.7970)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA246 #4946A2
analogous
#A27746 #9FA246 #71A246
triadic
#9FA246 #469FA2 #A2469F
tetradic
#9FA246 #46A277 #4946A2 #A24671
square
#9FA246 #46A277 #4946A2 #A24671
split-complementary
#9FA246 #4671A2 #7746A2
monochromatic
#4B4D21 #757734 #9FA246 #BBBE68 #CED092

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA246#FFFFFF#000000##000000
##9FA2461.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)
#AD9B3C
Deuteranopia (green-blind)
#AE9E4B
Tritanopia (blue-blind)
#A9998E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa246;
/* rgb */ color: rgb(159, 162, 70);
/* oklch */ color: oklch(69.1% 0.115 110.8);
Tailwind
colors: {
  custom: {
    50: '#bebd7d',
    500: '#9fa246',
    950: '#000000',
  },
}
SCSS
$custom: #9fa246;
$custom-light: #bebd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa246",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 61.957,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.11548,
    "h": 110.8
  },
  "luminance": 0.33654
}

Semantic roles & 50–950 ramp

primary
#9FA246
secondary
#8A88BC
accent
#58D05C
background
#FBFBF7
surface
#F7F6EE
border
#D0D0C9
text
#12120A
muted
#81817C

Preview Lab

Preview with #9FA246

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

Preview Lab → · Contrast checker → · Palette generator →

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