#9FAB2E#9FAB2E

#9FAB2E is a light, vivid yellow. Relative luminance 0.367; OKLCH L 70.9% C 0.144 H 114.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#9FAB2E
RGBrgb(159, 171, 46)
HSLhsl(66, 58%, 43%)
HSVhsv(66, 73%, 67%)
CMYKcmyk(7%, 0%, 73.1%, 32.9%)
CIE-LABlab(67.05, -19.99, 59.00)
CIE-LCHlch(67.05, 62.29, 108.72°)
OKLaboklab(70.91% -0.0608 0.1307)
OKLCHoklch(70.91% 0.144 114.9)
XYZxyz(29.3549, 36.6945, 8.1206)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB2E #3A2EAB
analogous
#AB792E #9FAB2E #60AB2E
triadic
#9FAB2E #2E9FAB #AB2E9F
tetradic
#9FAB2E #2EAB79 #3A2EAB #AB2E60
square
#9FAB2E #2EAB79 #3A2EAB #AB2E60
split-complementary
#9FAB2E #2E60AB #792EAB
monochromatic
#454B14 #727B21 #9FAB2E #C1CE48 #D1DB79

Accessibility & contrast

On white

2.52
#9FAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#9FAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB2E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB2E#FFFFFF#000000##000000
##9FAB2E1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A216
Deuteranopia (green-blind)
#B7A438
Tritanopia (blue-blind)
#A9A193
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab2e;
/* rgb */ color: rgb(159, 171, 46);
/* oklch */ color: oklch(70.9% 0.144 114.9);
Tailwind
colors: {
  custom: {
    50: '#bfc370',
    500: '#9fab2e',
    950: '#000000',
  },
}
SCSS
$custom: #9fab2e;
$custom-light: #bfc370;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab2e",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 65.76,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.70907,
    "c": 0.14411,
    "h": 114.9
  },
  "luminance": 0.36694
}

Semantic roles & 50–950 ramp

primary
#9FAB2E
secondary
#7A72C3
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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