#9FAC25#9FAC25

#9FAC25 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.150 H 115.3°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9FAC25
RGBrgb(159, 172, 37)
HSLhsl(66, 65%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(7.6%, 0%, 78.5%, 32.5%)
CIE-LABlab(67.28, -20.89, 62.18)
CIE-LCHlch(67.28, 65.59, 108.57°)
OKLaboklab(71.08% -0.0641 0.1358)
OKLCHoklch(71.08% 0.15 115.3)
XYZxyz(29.3854, 37.0101, 7.3456)
Luminance0.3701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC25 #3225AC
analogous
#AC7525 #9FAC25 #5BAC25
triadic
#9FAC25 #259FAC #AC259F
tetradic
#9FAC25 #25AC75 #3225AC #AC255B
square
#9FAC25 #25AC75 #3225AC #AC255B
split-complementary
#9FAC25 #255BAC #7525AC
monochromatic
#42470F #707A1A #9FAC25 #C6D53A #D4DF6C

Accessibility & contrast

On white

2.50
#9FAC25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9FAC25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC25
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC25#FFFFFF#000000##000000
##9FAC251.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac25;
/* rgb */ color: rgb(159, 172, 37);
/* oklch */ color: oklch(71.1% 0.150 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46c',
    500: '#9fac25',
    950: '#000000',
  },
}
SCSS
$custom: #9fac25;
$custom-light: #bfc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac25",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 37
  },
  "hsl": {
    "h": 65.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.71082,
    "c": 0.15015,
    "h": 115.3
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#9FAC25
secondary
#7067C6
accent
#40E850
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAC25

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

Preview Lab → · Contrast checker → · Palette generator →

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