#9FA13F#9FA13F

#9FA13F 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#9FA13F
RGBrgb(159, 161, 63)
HSLhsl(61, 44%, 44%)
HSVhsv(61, 61%, 63%)
CMYKcmyk(1.2%, 0%, 60.9%, 36.9%)
CIE-LABlab(64.34, -13.83, 49.37)
CIE-LCHlch(64.34, 51.27, 105.65°)
OKLaboklab(68.78% -0.0418 0.1131)
OKLCHoklch(68.78% 0.121 110.3)
XYZxyz(27.9409, 33.2202, 9.6420)
Luminance0.3322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA13F #413FA1
analogous
#A1723F #9FA13F #6EA13F
triadic
#9FA13F #3F9FA1 #A13F9F
tetradic
#9FA13F #3FA172 #413FA1 #A13F6E
square
#9FA13F #3FA172 #413FA1 #A13F6E
split-complementary
#9FA13F #3F6EA1 #723FA1
monochromatic
#48491D #74752E #9FA13F #BEC05D #D0D189

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA13F#FFFFFF#000000##000000
##9FA13F1.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)
#AD9A34
Deuteranopia (green-blind)
#AE9D45
Tritanopia (blue-blind)
#A9988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa13f;
/* rgb */ color: rgb(159, 161, 63);
/* oklch */ color: oklch(68.8% 0.121 110.3);
Tailwind
colors: {
  custom: {
    50: '#bebc78',
    500: '#9fa13f',
    950: '#000000',
  },
}
SCSS
$custom: #9fa13f;
$custom-light: #bebc78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa13f",
  "rgb": {
    "r": 159,
    "g": 161,
    "b": 63
  },
  "hsl": {
    "h": 61.224,
    "s": 43.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6878,
    "c": 0.12055,
    "h": 110.3
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#9FA13F
secondary
#8180BC
accent
#54D357
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA13F

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

Preview Lab → · Contrast checker → · Palette generator →

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