#9FAB3D#9FAB3D

#9FAB3D is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.0% C 0.134 H 115.2°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#9FAB3D
RGBrgb(159, 171, 61)
HSLhsl(67, 47%, 45%)
HSVhsv(67, 64%, 67%)
CMYKcmyk(7%, 0%, 64.3%, 32.9%)
CIE-LABlab(67.15, -19.11, 53.25)
CIE-LCHlch(67.15, 56.58, 109.74°)
OKLaboklab(71.03% -0.0568 0.121)
OKLCHoklch(71.03% 0.134 115.2)
XYZxyz(29.7040, 36.8341, 9.9589)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB3D #493DAB
analogous
#AB803D #9FAB3D #68AB3D
triadic
#9FAB3D #3D9FAB #AB3D9F
tetradic
#9FAB3D #3DAB80 #493DAB #AB3D68
square
#9FAB3D #3DAB80 #493DAB #AB3D68
split-complementary
#9FAB3D #3D68AB #803DAB
monochromatic
#4B511D #757E2D #9FAB3D #BBC65F #CED68C

Accessibility & contrast

On white

2.51
#9FAB3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#9FAB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB3D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB3D#FFFFFF#000000##000000
##9FAB3D1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32F
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#A9A194
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab3d;
/* rgb */ color: rgb(159, 171, 61);
/* oklch */ color: oklch(71.0% 0.134 115.2);
Tailwind
colors: {
  custom: {
    50: '#bec378',
    500: '#9fab3d',
    950: '#000000',
  },
}
SCSS
$custom: #9fab3d;
$custom-light: #bec378;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab3d",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 66.545,
    "s": 47.414,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71025,
    "c": 0.13369,
    "h": 115.2
  },
  "luminance": 0.36834
}

Semantic roles & 50–950 ramp

primary
#9FAB3D
secondary
#8A83C1
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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