#9FA640#9FA640

#9FA640 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 69.9% C 0.125 H 112.9°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9FA640
RGBrgb(159, 166, 64)
HSLhsl(64, 44%, 45%)
HSVhsv(64, 61%, 65%)
CMYKcmyk(4.2%, 0%, 61.4%, 34.9%)
CIE-LABlab(65.76, -16.35, 50.47)
CIE-LCHlch(65.76, 53.05, 107.95°)
OKLaboklab(69.92% -0.0488 0.1155)
OKLCHoklch(69.92% 0.125 112.9)
XYZxyz(28.8604, 35.0141, 10.0876)
Luminance0.3501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA640 #4740A6
analogous
#A67A40 #9FA640 #6CA640
triadic
#9FA640 #409FA6 #A6409F
tetradic
#9FA640 #40A67A #4740A6 #A6406C
square
#9FA640 #40A67A #4740A6 #A6406C
split-complementary
#9FA640 #406CA6 #7A40A6
monochromatic
#4A4E1E #757A2F #9FA640 #BBC261 #CED38D

Accessibility & contrast

On white

2.62
#9FA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9FA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA640
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA640#FFFFFF#000000##000000
##9FA6401.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#B2A146
Tritanopia (blue-blind)
#A99D90
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9fa640;
/* rgb */ color: rgb(159, 166, 64);
/* oklch */ color: oklch(69.9% 0.125 112.9);
Tailwind
colors: {
  custom: {
    50: '#bec079',
    500: '#9fa640',
    950: '#000000',
  },
}
SCSS
$custom: #9fa640;
$custom-light: #bec079;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa640",
  "rgb": {
    "r": 159,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 64.118,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69918,
    "c": 0.12542,
    "h": 112.9
  },
  "luminance": 0.35014
}

Semantic roles & 50–950 ramp

primary
#9FA640
secondary
#8884BE
accent
#54D45D
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA640

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

Preview Lab → · Contrast checker → · Palette generator →

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