#9FAD1F#9FAD1F

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

Color values

HEX#9FAD1F
RGBrgb(159, 173, 31)
HSLhsl(66, 70%, 40%)
HSVhsv(66, 82%, 68%)
CMYKcmyk(8.1%, 0%, 82.1%, 32.2%)
CIE-LABlab(67.54, -21.61, 64.10)
CIE-LCHlch(67.54, 67.65, 108.63°)
OKLaboklab(71.28% -0.0665 0.1389)
OKLCHoklch(71.28% 0.154 115.6)
XYZxyz(29.4898, 37.3575, 6.9533)
Luminance0.3736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAD1F #2D1FAD
analogous
#AD741F #9FAD1F #58AD1F
triadic
#9FAD1F #1F9FAD #AD1F9F
tetradic
#9FAD1F #1FAD74 #2D1FAD #AD1F58
square
#9FAD1F #1FAD74 #2D1FAD #AD1F58
split-complementary
#9FAD1F #1F58AD #741FAD
monochromatic
#40450C #6F7916 #9FAD1F #C9DA2F #D7E363

Accessibility & contrast

On white

2.48
#9FAD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9FAD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAD1F
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAD1F#FFFFFF#000000##000000
##9FAD1F1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B9A52E
Tritanopia (blue-blind)
#AAA394
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fad1f;
/* rgb */ color: rgb(159, 173, 31);
/* oklch */ color: oklch(71.3% 0.154 115.6);
Tailwind
colors: {
  custom: {
    50: '#bfc56a',
    500: '#9fad1f',
    950: '#000000',
  },
}
SCSS
$custom: #9fad1f;
$custom-light: #bfc56a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fad1f",
  "rgb": {
    "r": 159,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 65.915,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.71283,
    "c": 0.15395,
    "h": 115.6
  },
  "luminance": 0.37357
}

Semantic roles & 50–950 ramp

primary
#9FAD1F
secondary
#6A60C8
accent
#3BEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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