#9FB838#9FB838

#9FB838 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 74.0% C 0.153 H 119.9°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#9FB838
RGBrgb(159, 184, 56)
HSLhsl(72, 53%, 47%)
HSVhsv(72, 70%, 72%)
CMYKcmyk(13.6%, 0%, 69.6%, 27.8%)
CIE-LABlab(70.83, -25.87, 59.04)
CIE-LCHlch(70.83, 64.46, 113.66°)
OKLaboklab(73.97% -0.0762 0.1324)
OKLCHoklch(73.97% 0.153 119.9)
XYZxyz(32.1529, 41.9376, 10.1415)
Luminance0.4194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB838 #5138B8
analogous
#B89138 #9FB838 #5FB838
triadic
#9FB838 #389FB8 #B8389F
tetradic
#9FB838 #38B891 #5138B8 #B8385F
square
#9FB838 #38B891 #5138B8 #B8385F
split-complementary
#9FB838 #385FB8 #9138B8
monochromatic
#4E5A1B #76892A #9FB838 #B9CE5F #CDDD8E

Accessibility & contrast

On white

2.24
#9FB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#9FB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB838
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB838#FFFFFF#000000##000000
##9FB8381.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD23
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#A8AE9F
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9fb838;
/* rgb */ color: rgb(159, 184, 56);
/* oklch */ color: oklch(74.0% 0.153 119.9);
Tailwind
colors: {
  custom: {
    50: '#bfcd76',
    500: '#9fb838',
    950: '#000000',
  },
}
SCSS
$custom: #9fb838;
$custom-light: #bfcd76;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb838",
  "rgb": {
    "r": 159,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 71.719,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73966,
    "c": 0.15276,
    "h": 119.9
  },
  "luminance": 0.41937
}

Semantic roles & 50–950 ramp

primary
#9FB838
secondary
#9285C7
accent
#4BDD68
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #9FB838

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

Preview Lab → · Contrast checker → · Palette generator →

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