#9FAF25#9FAF25

#9FAF25 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 71.8% C 0.153 H 116.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#9FAF25
RGBrgb(159, 175, 37)
HSLhsl(67, 65%, 42%)
HSVhsv(67, 79%, 69%)
CMYKcmyk(9.1%, 0%, 78.9%, 31.4%)
CIE-LABlab(68.14, -22.39, 62.95)
CIE-LCHlch(68.14, 66.81, 109.58°)
OKLaboklab(71.77% -0.0682 0.1375)
OKLCHoklch(71.77% 0.153 116.4)
XYZxyz(29.9628, 38.1649, 7.5380)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAF25 #3525AF
analogous
#AF7A25 #9FAF25 #5AAF25
triadic
#9FAF25 #259FAF #AF259F
tetradic
#9FAF25 #25AF7A #3525AF #AF255A
square
#9FAF25 #25AF7A #3525AF #AF255A
split-complementary
#9FAF25 #255AAF #7A25AF
monochromatic
#434A10 #717C1A #9FAF25 #C4D63C #D3E06E

Accessibility & contrast

On white

2.43
#9FAF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#9FAF25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAF25
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAF25#FFFFFF#000000##000000
##9FAF251.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA500
Deuteranopia (green-blind)
#BAA732
Tritanopia (blue-blind)
#A9A596
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9faf25;
/* rgb */ color: rgb(159, 175, 37);
/* oklch */ color: oklch(71.8% 0.153 116.4);
Tailwind
colors: {
  custom: {
    50: '#bfc66c',
    500: '#9faf25',
    950: '#000000',
  },
}
SCSS
$custom: #9faf25;
$custom-light: #bfc66c;
$custom-dark: #000000;
JSON
{
  "hex": "#9faf25",
  "rgb": {
    "r": 159,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 66.957,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71771,
    "c": 0.15343,
    "h": 116.4
  },
  "luminance": 0.38164
}

Semantic roles & 50–950 ramp

primary
#9FAF25
secondary
#7469C7
accent
#40E853
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FAF25

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

Preview Lab → · Contrast checker → · Palette generator →

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