#9FAB25#9FAB25

#9FAB25 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.149 H 114.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#9FAB25
RGBrgb(159, 171, 37)
HSLhsl(65, 64%, 41%)
HSVhsv(65, 78%, 67%)
CMYKcmyk(7%, 0%, 78.4%, 32.9%)
CIE-LABlab(67.00, -20.39, 61.92)
CIE-LCHlch(67.00, 65.19, 108.23°)
OKLaboklab(70.85% -0.0627 0.1353)
OKLCHoklch(70.85% 0.149 114.9)
XYZxyz(29.1958, 36.6309, 7.2824)
Luminance0.3663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB25 #3125AB
analogous
#AB7425 #9FAB25 #5CAB25
triadic
#9FAB25 #259FAB #AB259F
tetradic
#9FAB25 #25AB74 #3125AB #AB255C
square
#9FAB25 #25AB74 #3125AB #AB255C
split-complementary
#9FAB25 #255CAB #7425AB
monochromatic
#41460F #70791A #9FAB25 #C6D439 #D5DF6B

Accessibility & contrast

On white

2.52
#9FAB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#9FAB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB25
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB25#FFFFFF#000000##000000
##9FAB251.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#AAA192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab25;
/* rgb */ color: rgb(159, 171, 37);
/* oklch */ color: oklch(70.9% 0.149 114.9);
Tailwind
colors: {
  custom: {
    50: '#bfc36c',
    500: '#9fab25',
    950: '#000000',
  },
}
SCSS
$custom: #9fab25;
$custom-light: #bfc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab25",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 65.373,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.14906,
    "h": 114.9
  },
  "luminance": 0.3663
}

Semantic roles & 50–950 ramp

primary
#9FAB25
secondary
#6F67C5
accent
#40E74F
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAB25

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

Preview Lab → · Contrast checker → · Palette generator →

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