#9FA13E#9FA13E

#9FA13E is a light, vivid yellow. Relative luminance 0.332; OKLCH L 68.8% C 0.121 H 110.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9FA13E
RGBrgb(159, 161, 62)
HSLhsl(61, 44%, 44%)
HSVhsv(61, 61%, 63%)
CMYKcmyk(1.2%, 0%, 61.5%, 36.9%)
CIE-LABlab(64.33, -13.90, 49.81)
CIE-LCHlch(64.33, 51.71, 105.59°)
OKLaboklab(68.77% -0.0421 0.1139)
OKLCHoklch(68.77% 0.121 110.3)
XYZxyz(27.9132, 33.2092, 9.4961)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA13E #403EA1
analogous
#A1713E #9FA13E #6DA13E
triadic
#9FA13E #3E9FA1 #A13E9F
tetradic
#9FA13E #3EA171 #403EA1 #A13E6D
square
#9FA13E #3EA171 #403EA1 #A13E6D
split-complementary
#9FA13E #3E6DA1 #713EA1
monochromatic
#48491C #73752D #9FA13E #BEC05C #D0D188

Accessibility & contrast

On white

2.75
#9FA13E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9FA13E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA13E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA13E#FFFFFF#000000##000000
##9FA13E1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A32
Deuteranopia (green-blind)
#AE9D44
Tritanopia (blue-blind)
#A9978C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa13e;
/* rgb */ color: rgb(159, 161, 62);
/* oklch */ color: oklch(68.8% 0.121 110.3);
Tailwind
colors: {
  custom: {
    50: '#bebc78',
    500: '#9fa13e',
    950: '#000000',
  },
}
SCSS
$custom: #9fa13e;
$custom-light: #bebc78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa13e",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 62
  },
  "hsl": {
    "h": 61.212,
    "s": 44.395,
    "l": 43.725
  },
  "oklch": {
    "l": 0.6877,
    "c": 0.1214,
    "h": 110.3
  },
  "luminance": 0.33208
}

Semantic roles & 50–950 ramp

primary
#9FA13E
secondary
#807FBC
accent
#54D456
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA13E

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

Preview Lab → · Contrast checker → · Palette generator →

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