#1F7041#1F7041

#1F7041 is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.5% C 0.108 H 153.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#1F7041
RGBrgb(31, 112, 65)
HSLhsl(145, 57%, 28%)
HSVhsv(145, 72%, 44%)
CMYKcmyk(72.3%, 0%, 42%, 56.1%)
CIE-LABlab(41.63, -35.73, 19.31)
CIE-LCHlch(41.63, 40.62, 151.62°)
OKLaboklab(48.46% -0.0964 0.048)
OKLCHoklch(48.46% 0.108 153.5)
XYZxyz(7.3127, 12.2605, 6.9811)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7041 #701F4E
analogous
#26701F #1F7041 #1F7069
triadic
#1F7041 #411F70 #70411F
tetradic
#1F7041 #1F2670 #701F4E #70691F
square
#1F7041 #1F2670 #701F4E #70691F
split-complementary
#1F7041 #691F70 #701F26
monochromatic
#07180E #124025 #1F7041 #2CA05D #3FCA7A

Accessibility & contrast

On white

6.08
#1F7041 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#1F7041 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7041
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7041#FFFFFF#000000##FFFFFF
##1F70411.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70663E
Deuteranopia (green-blind)
#665F44
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #1f7041;
/* rgb */ color: rgb(31, 112, 65);
/* oklch */ color: oklch(48.5% 0.108 153.5);
Tailwind
colors: {
  custom: {
    50: '#669a76',
    500: '#1f7041',
    950: '#000000',
  },
}
SCSS
$custom: #1f7041;
$custom-light: #669a76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7041",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 65
  },
  "hsl": {
    "h": 145.185,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48458,
    "c": 0.10775,
    "h": 153.5
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#1F7041
secondary
#A4477D
accent
#48A0E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #1F7041

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

Preview Lab → · Contrast checker → · Palette generator →

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