#9FAE2F#9FAE2F

#9FAE2F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.6% C 0.147 H 116.1°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#9FAE2F
RGBrgb(159, 174, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 73%, 68%)
CMYKcmyk(8.6%, 0%, 73%, 31.8%)
CIE-LABlab(67.91, -21.44, 59.47)
CIE-LCHlch(67.91, 63.22, 109.82°)
OKLaboklab(71.6% -0.0647 0.1318)
OKLCHoklch(71.6% 0.147 116.1)
XYZxyz(29.9480, 37.8487, 8.4167)
Luminance0.3785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE2F #3E2FAE
analogous
#AE7D2F #9FAE2F #5FAE2F
triadic
#9FAE2F #2F9FAE #AE2F9F
tetradic
#9FAE2F #2FAE7D #3E2FAE #AE2F5F
square
#9FAE2F #2FAE7D #3E2FAE #AE2F5F
split-complementary
#9FAE2F #2F5FAE #7D2FAE
monochromatic
#474E15 #737E22 #9FAE2F #BFCF4C #D0DC7C

Accessibility & contrast

On white

2.45
#9FAE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#9FAE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE2F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE2F#FFFFFF#000000##000000
##9FAE2F1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA516
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A9A496
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae2f;
/* rgb */ color: rgb(159, 174, 47);
/* oklch */ color: oklch(71.6% 0.147 116.1);
Tailwind
colors: {
  custom: {
    50: '#bfc671',
    500: '#9fae2f',
    950: '#000000',
  },
}
SCSS
$custom: #9fae2f;
$custom-light: #bfc671;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae2f",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 47
  },
  "hsl": {
    "h": 67.087,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.71601,
    "c": 0.14687,
    "h": 116.1
  },
  "luminance": 0.37848
}

Semantic roles & 50–950 ramp

primary
#9FAE2F
secondary
#7E75C4
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #9FAE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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