#9FAD2F#9FAD2F

#9FAD2F is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.4% C 0.146 H 115.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9FAD2F
RGBrgb(159, 173, 47)
HSLhsl(67, 57%, 43%)
HSVhsv(67, 73%, 68%)
CMYKcmyk(8.1%, 0%, 72.8%, 32.2%)
CIE-LABlab(67.62, -20.94, 59.20)
CIE-LCHlch(67.62, 62.79, 109.48°)
OKLaboklab(71.37% -0.0633 0.1313)
OKLCHoklch(71.37% 0.146 115.8)
XYZxyz(29.7555, 37.4638, 8.3525)
Luminance0.3746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAD2F #3D2FAD
analogous
#AD7C2F #9FAD2F #60AD2F
triadic
#9FAD2F #2F9FAD #AD2F9F
tetradic
#9FAD2F #2FAD7C #3D2FAD #AD2F60
square
#9FAD2F #2FAD7C #3D2FAD #AD2F60
split-complementary
#9FAD2F #2F60AD #7C2FAD
monochromatic
#474D15 #737D22 #9FAD2F #C0CE4B #D1DB7B

Accessibility & contrast

On white

2.47
#9FAD2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9FAD2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAD2F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAD2F#FFFFFF#000000##000000
##9FAD2F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A417
Deuteranopia (green-blind)
#B8A639
Tritanopia (blue-blind)
#A9A395
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fad2f;
/* rgb */ color: rgb(159, 173, 47);
/* oklch */ color: oklch(71.4% 0.146 115.8);
Tailwind
colors: {
  custom: {
    50: '#bfc571',
    500: '#9fad2f',
    950: '#000000',
  },
}
SCSS
$custom: #9fad2f;
$custom-light: #bfc571;
$custom-dark: #000000;
JSON
{
  "hex": "#9fad2f",
  "rgb": {
    "r": 159,
    "g": 173,
    "b": 47
  },
  "hsl": {
    "h": 66.667,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.14574,
    "h": 115.8
  },
  "luminance": 0.37463
}

Semantic roles & 50–950 ramp

primary
#9FAD2F
secondary
#7D74C4
accent
#47E158
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAD2F

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

Preview Lab → · Contrast checker → · Palette generator →

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