#9FAC3E#9FAC3E

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

Color values

HEX#9FAC3E
RGBrgb(159, 172, 62)
HSLhsl(67, 47%, 46%)
HSVhsv(67, 64%, 67%)
CMYKcmyk(7.6%, 0%, 64%, 32.5%)
CIE-LABlab(67.44, -19.54, 53.14)
CIE-LCHlch(67.44, 56.62, 110.19°)
OKLaboklab(71.26% -0.058 0.1209)
OKLCHoklch(71.26% 0.134 115.6)
XYZxyz(29.9208, 37.2242, 10.1653)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC3E #4B3EAC
analogous
#AC823E #9FAC3E #68AC3E
triadic
#9FAC3E #3E9FAC #AC3E9F
tetradic
#9FAC3E #3EAC82 #4B3EAC #AC3E68
square
#9FAC3E #3EAC82 #4B3EAC #AC3E68
split-complementary
#9FAC3E #3E68AC #823EAC
monochromatic
#4C521E #757F2E #9FAC3E #BAC661 #CED68E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FAC3E#FFFFFF#000000##000000
##9FAC3E1.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)
#B8A430
Deuteranopia (green-blind)
#B7A545
Tritanopia (blue-blind)
#A9A395
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac3e;
/* rgb */ color: rgb(159, 172, 62);
/* oklch */ color: oklch(71.3% 0.134 115.6);
Tailwind
colors: {
  custom: {
    50: '#bec479',
    500: '#9fac3e',
    950: '#000000',
  },
}
SCSS
$custom: #9fac3e;
$custom-light: #bec479;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac3e",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 62
  },
  "hsl": {
    "h": 67.091,
    "s": 47.009,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71262,
    "c": 0.13409,
    "h": 115.6
  },
  "luminance": 0.37224
}

Semantic roles & 50–950 ramp

primary
#9FAC3E
secondary
#8C85C1
accent
#51D761
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9FAC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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