#9FA841#9FA841

#9FA841 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.4% C 0.127 H 113.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9FA841
RGBrgb(159, 168, 65)
HSLhsl(65, 44%, 46%)
HSVhsv(65, 61%, 66%)
CMYKcmyk(5.4%, 0%, 61.3%, 34.1%)
CIE-LABlab(66.33, -17.30, 50.65)
CIE-LCHlch(66.33, 53.52, 108.86°)
OKLaboklab(70.38% -0.0514 0.1161)
OKLCHoklch(70.38% 0.127 113.9)
XYZxyz(29.2555, 35.7584, 10.3609)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA841 #4A41A8
analogous
#A87D41 #9FA841 #6BA841
triadic
#9FA841 #419FA8 #A8419F
tetradic
#9FA841 #41A87D #4A41A8 #A8416B
square
#9FA841 #41A87D #4A41A8 #A8416B
split-complementary
#9FA841 #416BA8 #7D41A8
monochromatic
#4B501F #757C30 #9FA841 #BAC363 #CED490

Accessibility & contrast

On white

2.58
#9FA841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9FA841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA841
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA841#FFFFFF#000000##000000
##9FA8411.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A035
Deuteranopia (green-blind)
#B3A248
Tritanopia (blue-blind)
#A99F92
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa841;
/* rgb */ color: rgb(159, 168, 65);
/* oklch */ color: oklch(70.4% 0.127 113.9);
Tailwind
colors: {
  custom: {
    50: '#bec17a',
    500: '#9fa841',
    950: '#000000',
  },
}
SCSS
$custom: #9fa841;
$custom-light: #bec17a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa841",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 65.243,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.12692,
    "h": 113.9
  },
  "luminance": 0.35758
}

Semantic roles & 50–950 ramp

primary
#9FA841
secondary
#8B86BF
accent
#54D45F
background
#FBFBF7
surface
#F7F7EE
border
#D0D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA841

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

Preview Lab → · Contrast checker → · Palette generator →

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