#9BC638#9BC638

#9BC638 is a light, vivid yellow-green. Relative luminance 0.476; OKLCH L 76.9% C 0.171 H 125.1°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#9BC638
RGBrgb(155, 198, 56)
HSLhsl(78, 56%, 50%)
HSVhsv(78, 72%, 78%)
CMYKcmyk(21.7%, 0%, 71.7%, 22.4%)
CIE-LABlab(74.60, -34.10, 62.71)
CIE-LCHlch(74.60, 71.38, 118.54°)
OKLaboklab(76.94% -0.0986 0.1402)
OKLCHoklch(76.94% 0.171 125.1)
XYZxyz(34.4257, 47.6418, 11.1227)
Luminance0.4764 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC638 #6338C6
analogous
#C6AA38 #9BC638 #54C638
triadic
#9BC638 #389BC6 #C6389B
tetradic
#9BC638 #38C6AA #6338C6 #C63854
square
#9BC638 #38C6AA #6338C6 #C63854
split-complementary
#9BC638 #3854C6 #AA38C6
monochromatic
#50671D #76962B #9BC638 #B3D467 #CBE297

Accessibility & contrast

On white

1.99
#9BC638 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#9BC638 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC638
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC638#FFFFFF#000000##000000
##9BC6381.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B91E
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#A2BCAA
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #9bc638;
/* rgb */ color: rgb(155, 198, 56);
/* oklch */ color: oklch(76.9% 0.171 125.1);
Tailwind
colors: {
  custom: {
    50: '#bcd778',
    500: '#9bc638',
    950: '#000000',
  },
}
SCSS
$custom: #9bc638;
$custom-light: #bcd778;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc638",
  "rgb": {
    "r": 155,
    "g": 198,
    "b": 56
  },
  "hsl": {
    "h": 78.169,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.17142,
    "h": 125.1
  },
  "luminance": 0.47642
}

Semantic roles & 50–950 ramp

primary
#9BC638
secondary
#A08DCD
accent
#49DF76
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#121409
muted
#81837B

Preview Lab

Preview with #9BC638

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

Preview Lab → · Contrast checker → · Palette generator →

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