#1F9C38#1F9C38

#1F9C38 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.174 H 145.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#1F9C38
RGBrgb(31, 156, 56)
HSLhsl(132, 67%, 37%)
HSVhsv(132, 80%, 61%)
CMYKcmyk(80.1%, 0%, 64.1%, 38.8%)
CIE-LABlab(56.44, -53.53, 42.02)
CIE-LCHlch(56.44, 68.05, 141.87°)
OKLaboklab(60.68% -0.1442 0.0981)
OKLCHoklch(60.68% 0.174 145.8)
XYZxyz(13.1664, 24.3522, 7.7471)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9C38 #9C1F83
analogous
#459C1F #1F9C38 #1F9C77
triadic
#1F9C38 #381F9C #9C381F
tetradic
#1F9C38 #1F459C #9C1F83 #9C771F
square
#1F9C38 #1F459C #9C1F83 #9C771F
split-complementary
#1F9C38 #771F9C #9C1F45
monochromatic
#0B3613 #156926 #1F9C38 #29CF4A #58DE72

Accessibility & contrast

On white

3.58
#1F9C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#1F9C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9C38
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9C38#FFFFFF#000000##000000
##1F9C381.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8D2C
Deuteranopia (green-blind)
#918441
Tritanopia (blue-blind)
#009887
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9c38;
/* rgb */ color: rgb(31, 156, 56);
/* oklch */ color: oklch(60.7% 0.174 145.8);
Tailwind
colors: {
  custom: {
    50: '#72ba73',
    500: '#1f9c38',
    950: '#000000',
  },
}
SCSS
$custom: #1f9c38;
$custom-light: #72ba73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9c38",
  "rgb": {
    "r": 31,
    "g": 156,
    "b": 56
  },
  "hsl": {
    "h": 132,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.17443,
    "h": 145.8
  },
  "luminance": 0.24354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F9C38

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

Preview Lab → · Contrast checker → · Palette generator →

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