#9FC231#9FC231

#9FC231 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.2% C 0.169 H 122.6°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#9FC231
RGBrgb(159, 194, 49)
HSLhsl(74, 60%, 48%)
HSVhsv(74, 75%, 76%)
CMYKcmyk(18%, 0%, 74.7%, 23.9%)
CIE-LABlab(73.66, -31.03, 64.29)
CIE-LCHlch(73.66, 71.39, 115.76°)
OKLaboklab(76.24% -0.091 0.1423)
OKLCHoklch(76.24% 0.169 122.6)
XYZxyz(34.1447, 46.1761, 10.0192)
Luminance0.4618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FC231 #5431C2
analogous
#C29D31 #9FC231 #56C231
triadic
#9FC231 #319FC2 #C2319F
tetradic
#9FC231 #31C29D #5431C2 #C23156
square
#9FC231 #31C29D #5431C2 #C23156
split-complementary
#9FC231 #3156C2 #9D31C2
monochromatic
#4F6018 #779125 #9FC231 #B8D65B #CDE28C

Accessibility & contrast

On white

2.05
#9FC231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#9FC231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FC231
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FC231#FFFFFF#000000##000000
##9FC2311.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB610
Deuteranopia (green-blind)
#C9B53E
Tritanopia (blue-blind)
#A7B8A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9fc231;
/* rgb */ color: rgb(159, 194, 49);
/* oklch */ color: oklch(76.2% 0.169 122.6);
Tailwind
colors: {
  custom: {
    50: '#bfd474',
    500: '#9fc231',
    950: '#000000',
  },
}
SCSS
$custom: #9fc231;
$custom-light: #bfd474;
$custom-dark: #000000;
JSON
{
  "hex": "#9fc231",
  "rgb": {
    "r": 159,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 74.483,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76237,
    "c": 0.16892,
    "h": 122.6
  },
  "luminance": 0.46176
}

Semantic roles & 50–950 ramp

primary
#9FC231
secondary
#9483CC
accent
#45E36B
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #9FC231

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

Preview Lab → · Contrast checker → · Palette generator →

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