#9FA340#9FA340

#9FA340 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.2% C 0.122 H 111.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#9FA340
RGBrgb(159, 163, 64)
HSLhsl(62, 44%, 45%)
HSVhsv(62, 61%, 64%)
CMYKcmyk(2.5%, 0%, 60.7%, 36.1%)
CIE-LABlab(64.91, -14.80, 49.55)
CIE-LCHlch(64.91, 51.71, 106.63°)
OKLaboklab(69.24% -0.0444 0.1136)
OKLCHoklch(69.24% 0.122 111.4)
XYZxyz(28.3214, 33.9361, 9.9079)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA340 #4440A3
analogous
#A37640 #9FA340 #6EA340
triadic
#9FA340 #409FA3 #A3409F
tetradic
#9FA340 #40A376 #4440A3 #A3406E
square
#9FA340 #40A376 #4440A3 #A3406E
split-complementary
#9FA340 #406EA3 #7640A3
monochromatic
#494B1D #74772F #9FA340 #BDC060 #CFD28C

Accessibility & contrast

On white

2.70
#9FA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#9FA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA340
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA340#FFFFFF#000000##000000
##9FA3401.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#AF9F46
Tritanopia (blue-blind)
#A99A8E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa340;
/* rgb */ color: rgb(159, 163, 64);
/* oklch */ color: oklch(69.2% 0.122 111.4);
Tailwind
colors: {
  custom: {
    50: '#bebe79',
    500: '#9fa340',
    950: '#000000',
  },
}
SCSS
$custom: #9fa340;
$custom-light: #bebe79;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa340",
  "rgb": {
    "r": 159,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 62.424,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6924,
    "c": 0.12196,
    "h": 111.4
  },
  "luminance": 0.33935
}

Semantic roles & 50–950 ramp

primary
#9FA340
secondary
#8582BD
accent
#54D35A
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA340

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

Preview Lab → · Contrast checker → · Palette generator →

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