#9FCA38#9FCA38

#9FCA38 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.1% C 0.174 H 124.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#9FCA38
RGBrgb(159, 202, 56)
HSLhsl(78, 58%, 51%)
HSVhsv(78, 72%, 79%)
CMYKcmyk(21.3%, 0%, 72.3%, 20.8%)
CIE-LABlab(76.01, -34.37, 64.18)
CIE-LCHlch(76.01, 72.80, 118.17°)
OKLaboklab(78.15% -0.0996 0.1432)
OKLCHoklch(78.15% 0.174 124.8)
XYZxyz(36.1327, 49.8971, 11.4681)
Luminance0.4990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCA38 #6338CA
analogous
#CAAC38 #9FCA38 #56CA38
triadic
#9FCA38 #389FCA #CA389F
tetradic
#9FCA38 #38CAAC #6338CA #CA3856
square
#9FCA38 #38CAAC #6338CA #CA3856
split-complementary
#9FCA38 #3856CA #AC38CA
monochromatic
#546B1D #7A9B29 #9FCA38 #B6D768 #CEE499

Accessibility & contrast

On white

1.91
#9FCA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#9FCA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCA38
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCA38#FFFFFF#000000##000000
##9FCA381.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD1C
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#A6C0AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #9fca38;
/* rgb */ color: rgb(159, 202, 56);
/* oklch */ color: oklch(78.1% 0.174 124.8);
Tailwind
colors: {
  custom: {
    50: '#bfda78',
    500: '#9fca38',
    950: '#000000',
  },
}
SCSS
$custom: #9fca38;
$custom-light: #bfda78;
$custom-dark: #000000;
JSON
{
  "hex": "#9fca38",
  "rgb": {
    "r": 159,
    "g": 202,
    "b": 56
  },
  "hsl": {
    "h": 77.671,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78147,
    "c": 0.17443,
    "h": 124.8
  },
  "luminance": 0.49898
}

Semantic roles & 50–950 ramp

primary
#9FCA38
secondary
#A28ECF
accent
#47E174
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C

Preview Lab

Preview with #9FCA38

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

Preview Lab → · Contrast checker → · Palette generator →

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