#1F9945#1F9945

#1F9945 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.160 H 148.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F9945
RGBrgb(31, 153, 69)
HSLhsl(139, 66%, 36%)
HSVhsv(139, 80%, 60%)
CMYKcmyk(79.7%, 0%, 54.9%, 40%)
CIE-LABlab(55.59, -50.75, 34.78)
CIE-LCHlch(55.59, 61.53, 145.57°)
OKLaboklab(60.02% -0.1363 0.0835)
OKLCHoklch(60.02% 0.16 148.5)
XYZxyz(13.0294, 23.5019, 9.4787)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9945 #991F73
analogous
#36991F #1F9945 #1F9982
triadic
#1F9945 #451F99 #99451F
tetradic
#1F9945 #1F3699 #991F73 #99821F
square
#1F9945 #1F3699 #991F73 #99821F
split-complementary
#1F9945 #821F99 #991F36
monochromatic
#0A3317 #15662E #1F9945 #29CC5C #56DD80

Accessibility & contrast

On white

3.68
#1F9945 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#1F9945 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9945
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9945#FFFFFF#000000##000000
##1F99451.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B3D
Deuteranopia (green-blind)
#8D814B
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9945;
/* rgb */ color: rgb(31, 153, 69);
/* oklch */ color: oklch(60.0% 0.160 148.5);
Tailwind
colors: {
  custom: {
    50: '#70b87b',
    500: '#1f9945',
    950: '#000000',
  },
}
SCSS
$custom: #1f9945;
$custom-light: #70b87b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9945",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 69
  },
  "hsl": {
    "h": 138.689,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.15987,
    "h": 148.5
  },
  "luminance": 0.23503
}

Semantic roles & 50–950 ramp

primary
#1F9945
secondary
#C0549E
accent
#3FB4E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9945

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

Preview Lab → · Contrast checker → · Palette generator →

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