#9FAC2E#9FAC2E

#9FAC2E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.1% C 0.145 H 115.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#9FAC2E
RGBrgb(159, 172, 46)
HSLhsl(66, 58%, 43%)
HSVhsv(66, 73%, 67%)
CMYKcmyk(7.6%, 0%, 73.3%, 32.5%)
CIE-LABlab(67.33, -20.49, 59.27)
CIE-LCHlch(67.33, 62.71, 109.07°)
OKLaboklab(71.14% -0.0622 0.1312)
OKLCHoklch(71.14% 0.145 115.4)
XYZxyz(29.5445, 37.0737, 8.1838)
Luminance0.3707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC2E #3B2EAC
analogous
#AC7A2E #9FAC2E #60AC2E
triadic
#9FAC2E #2E9FAC #AC2E9F
tetradic
#9FAC2E #2EAC7A #3B2EAC #AC2E60
square
#9FAC2E #2EAC7A #3B2EAC #AC2E60
split-complementary
#9FAC2E #2E60AC #7A2EAC
monochromatic
#464B14 #727C21 #9FAC2E #C1CE49 #D1DB79

Accessibility & contrast

On white

2.50
#9FAC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#9FAC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC2E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC2E#FFFFFF#000000##000000
##9FAC2E1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A315
Deuteranopia (green-blind)
#B7A538
Tritanopia (blue-blind)
#A9A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac2e;
/* rgb */ color: rgb(159, 172, 46);
/* oklch */ color: oklch(71.1% 0.145 115.4);
Tailwind
colors: {
  custom: {
    50: '#bfc470',
    500: '#9fac2e',
    950: '#000000',
  },
}
SCSS
$custom: #9fac2e;
$custom-light: #bfc470;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac2e",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 66.19,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.71136,
    "c": 0.14522,
    "h": 115.4
  },
  "luminance": 0.37073
}

Semantic roles & 50–950 ramp

primary
#9FAC2E
secondary
#7B72C3
accent
#47E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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