#1F9D45#1F9D45

#1F9D45 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.165 H 148.2°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#1F9D45
RGBrgb(31, 157, 69)
HSLhsl(138, 67%, 37%)
HSVhsv(138, 80%, 62%)
CMYKcmyk(80.3%, 0%, 56.1%, 38.4%)
CIE-LABlab(56.91, -52.15, 36.39)
CIE-LCHlch(56.91, 63.59, 145.10°)
OKLaboklab(61.12% -0.1401 0.087)
OKLCHoklch(61.12% 0.165 148.2)
XYZxyz(13.6951, 24.8333, 9.7006)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D45 #9D1F77
analogous
#389D1F #1F9D45 #1F9D84
triadic
#1F9D45 #451F9D #9D451F
tetradic
#1F9D45 #1F389D #9D1F77 #9D841F
square
#1F9D45 #1F389D #9D1F77 #9D841F
split-complementary
#1F9D45 #841F9D #9D1F38
monochromatic
#0B3718 #156A2F #1F9D45 #29D05B #58DE81

Accessibility & contrast

On white

3.52
#1F9D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#1F9D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D45
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D45#FFFFFF#000000##000000
##1F9D451.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8E3D
Deuteranopia (green-blind)
#91854C
Tritanopia (blue-blind)
#009A89
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9d45;
/* rgb */ color: rgb(31, 157, 69);
/* oklch */ color: oklch(61.1% 0.165 148.2);
Tailwind
colors: {
  custom: {
    50: '#71bb7b',
    500: '#1f9d45',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d45;
$custom-light: #71bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d45",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 138.095,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.61118,
    "c": 0.16494,
    "h": 148.2
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#1F9D45
secondary
#C256A1
accent
#3EB6EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091209
muted
#7B817B

Preview Lab

Preview with #1F9D45

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

Preview Lab → · Contrast checker → · Palette generator →

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