#1F9643#1F9643

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

Color values

HEX#1F9643
RGBrgb(31, 150, 67)
HSLhsl(138, 66%, 35%)
HSVhsv(138, 79%, 59%)
CMYKcmyk(79.3%, 0%, 55.3%, 41.2%)
CIE-LABlab(54.56, -49.99, 34.55)
CIE-LCHlch(54.56, 60.77, 145.35°)
OKLaboklab(59.16% -0.1343 0.0828)
OKLCHoklch(59.16% 0.158 148.3)
XYZxyz(12.4835, 22.5077, 8.9956)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9643 #961F72
analogous
#37961F #1F9643 #1F967E
triadic
#1F9643 #431F96 #96431F
tetradic
#1F9643 #1F3796 #961F72 #967E1F
square
#1F9643 #1F3796 #961F72 #967E1F
split-complementary
#1F9643 #7E1F96 #961F37
monochromatic
#0A3116 #15632C #1F9643 #29C95A #54DC7D

Accessibility & contrast

On white

3.82
#1F9643 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#1F9643 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9643
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9643#FFFFFF#000000##000000
##1F96431.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97883B
Deuteranopia (green-blind)
#8A7F49
Tritanopia (blue-blind)
#009383
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9643;
/* rgb */ color: rgb(31, 150, 67);
/* oklch */ color: oklch(59.2% 0.158 148.3);
Tailwind
colors: {
  custom: {
    50: '#70b679',
    500: '#1f9643',
    950: '#000000',
  },
}
SCSS
$custom: #1f9643;
$custom-light: #70b679;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9643",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 67
  },
  "hsl": {
    "h": 138.151,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59161,
    "c": 0.15782,
    "h": 148.3
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#1F9643
secondary
#BF529E
accent
#3FB5E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9643

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

Preview Lab → · Contrast checker → · Palette generator →

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