#1F9B38#1F9B38

#1F9B38 is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.4% C 0.173 H 145.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#1F9B38
RGBrgb(31, 155, 56)
HSLhsl(132, 67%, 36%)
HSVhsv(132, 80%, 61%)
CMYKcmyk(80%, 0%, 63.9%, 39.2%)
CIE-LABlab(56.11, -53.19, 41.64)
CIE-LCHlch(56.11, 67.55, 141.94°)
OKLaboklab(60.4% -0.1433 0.0973)
OKLCHoklch(60.4% 0.173 145.8)
XYZxyz(12.9993, 24.0180, 7.6914)
Luminance0.2402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B38 #9B1F82
analogous
#449B1F #1F9B38 #1F9B76
triadic
#1F9B38 #381F9B #9B381F
tetradic
#1F9B38 #1F449B #9B1F82 #9B761F
square
#1F9B38 #1F449B #9B1F82 #9B761F
split-complementary
#1F9B38 #761F9B #9B1F44
monochromatic
#0B3513 #156826 #1F9B38 #29CE4A #57DD72

Accessibility & contrast

On white

3.62
#1F9B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#1F9B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B38
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B38#FFFFFF#000000##000000
##1F9B381.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C2D
Deuteranopia (green-blind)
#908341
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #1f9b38;
/* rgb */ color: rgb(31, 155, 56);
/* oklch */ color: oklch(60.4% 0.173 145.8);
Tailwind
colors: {
  custom: {
    50: '#71ba73',
    500: '#1f9b38',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b38;
$custom-light: #71ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b38",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 132.097,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.17323,
    "h": 145.8
  },
  "luminance": 0.2402
}

Semantic roles & 50–950 ramp

primary
#1F9B38
secondary
#C155AB
accent
#3EC7EA
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9B38

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

Preview Lab → · Contrast checker → · Palette generator →

#1F9B38 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva