#1F9645#1F9645

#1F9645 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.156 H 148.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F9645
RGBrgb(31, 150, 69)
HSLhsl(139, 66%, 35%)
HSVhsv(139, 79%, 59%)
CMYKcmyk(79.3%, 0%, 54%, 41.2%)
CIE-LABlab(54.59, -49.68, 33.57)
CIE-LCHlch(54.59, 59.96, 145.95°)
OKLaboklab(59.19% -0.1335 0.0808)
OKLCHoklch(59.19% 0.156 148.8)
XYZxyz(12.5446, 22.5322, 9.3171)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9645 #961F70
analogous
#34961F #1F9645 #1F9681
triadic
#1F9645 #451F96 #96451F
tetradic
#1F9645 #1F3496 #961F70 #96811F
square
#1F9645 #1F3496 #961F70 #96811F
split-complementary
#1F9645 #811F96 #961F34
monochromatic
#0A3116 #15632E #1F9645 #29C95C #54DC7F

Accessibility & contrast

On white

3.81
#1F9645 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F9645 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9645
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9645#FFFFFF#000000##000000
##1F96451.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883E
Deuteranopia (green-blind)
#8A7F4B
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9645;
/* rgb */ color: rgb(31, 150, 69);
/* oklch */ color: oklch(59.2% 0.156 148.8);
Tailwind
colors: {
  custom: {
    50: '#70b67a',
    500: '#1f9645',
    950: '#000000',
  },
}
SCSS
$custom: #1f9645;
$custom-light: #70b67a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9645",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 69
  },
  "hsl": {
    "h": 139.16,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.15603,
    "h": 148.8
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#1F9645
secondary
#BF529C
accent
#3FB3E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9645

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

Preview Lab → · Contrast checker → · Palette generator →

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