#1F9B45#1F9B45

#1F9B45 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.162 H 148.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#1F9B45
RGBrgb(31, 155, 69)
HSLhsl(138, 67%, 36%)
HSVhsv(138, 80%, 61%)
CMYKcmyk(80%, 0%, 55.5%, 39.2%)
CIE-LABlab(56.25, -51.45, 35.59)
CIE-LCHlch(56.25, 62.56, 145.33°)
OKLaboklab(60.57% -0.1382 0.0853)
OKLCHoklch(60.57% 0.162 148.3)
XYZxyz(13.3595, 24.1621, 9.5887)
Luminance0.2416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B45 #9B1F75
analogous
#379B1F #1F9B45 #1F9B83
triadic
#1F9B45 #451F9B #9B451F
tetradic
#1F9B45 #1F379B #9B1F75 #9B831F
square
#1F9B45 #1F379B #9B1F75 #9B831F
split-complementary
#1F9B45 #831F9B #9B1F37
monochromatic
#0B3518 #15682E #1F9B45 #29CE5C #57DD80

Accessibility & contrast

On white

3.60
#1F9B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#1F9B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B45
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B45#FFFFFF#000000##000000
##1F9B451.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8D3D
Deuteranopia (green-blind)
#8F834C
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9b45;
/* rgb */ color: rgb(31, 155, 69);
/* oklch */ color: oklch(60.6% 0.162 148.3);
Tailwind
colors: {
  custom: {
    50: '#71ba7b',
    500: '#1f9b45',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b45;
$custom-light: #71ba7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b45",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 69
  },
  "hsl": {
    "h": 138.387,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60568,
    "c": 0.16241,
    "h": 148.3
  },
  "luminance": 0.24164
}

Semantic roles & 50–950 ramp

primary
#1F9B45
secondary
#C155A0
accent
#3EB5EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9B45

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

Preview Lab → · Contrast checker → · Palette generator →

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