#9FAC3D#9FAC3D

#9FAC3D is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.3% C 0.135 H 115.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#9FAC3D
RGBrgb(159, 172, 61)
HSLhsl(67, 48%, 46%)
HSVhsv(67, 65%, 67%)
CMYKcmyk(7.6%, 0%, 64.5%, 32.5%)
CIE-LABlab(67.44, -19.61, 53.55)
CIE-LCHlch(67.44, 57.03, 110.11°)
OKLaboklab(71.25% -0.0583 0.1216)
OKLCHoklch(71.25% 0.135 115.6)
XYZxyz(29.8936, 37.2133, 10.0221)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3D #4A3DAC
analogous
#AC813D #9FAC3D #67AC3D
triadic
#9FAC3D #3D9FAC #AC3D9F
tetradic
#9FAC3D #3DAC81 #4A3DAC #AC3D67
square
#9FAC3D #3DAC81 #4A3DAC #AC3D67
split-complementary
#9FAC3D #3D67AC #813DAC
monochromatic
#4B521D #757F2D #9FAC3D #BAC760 #CED78D

Accessibility & contrast

On white

2.49
#9FAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#9FAC3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC3D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC3D#FFFFFF#000000##000000
##9FAC3D1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32F
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#A9A295
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac3d;
/* rgb */ color: rgb(159, 172, 61);
/* oklch */ color: oklch(71.3% 0.135 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec478',
    500: '#9fac3d',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3d;
$custom-light: #bec478;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3d",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 61
  },
  "hsl": {
    "h": 67.027,
    "s": 47.639,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71253,
    "c": 0.13487,
    "h": 115.6
  },
  "luminance": 0.37213
}

Semantic roles & 50–950 ramp

primary
#9FAC3D
secondary
#8B84C1
accent
#51D760
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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