#1F7541#1F7541

#1F7541 is a mid, moderate green. Relative luminance 0.134; OKLCH L 49.9% C 0.115 H 152.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#1F7541
RGBrgb(31, 117, 65)
HSLhsl(144, 58%, 29%)
HSVhsv(144, 74%, 46%)
CMYKcmyk(73.5%, 0%, 44.4%, 54.1%)
CIE-LABlab(43.35, -37.81, 21.57)
CIE-LCHlch(43.35, 43.53, 150.30°)
OKLaboklab(49.88% -0.1019 0.0533)
OKLCHoklch(49.88% 0.115 152.4)
XYZxyz(7.8798, 13.3947, 7.1701)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7541 #751F53
analogous
#28751F #1F7541 #1F756C
triadic
#1F7541 #411F75 #75411F
tetradic
#1F7541 #1F2875 #751F53 #756C1F
square
#1F7541 #1F2875 #751F53 #756C1F
split-complementary
#1F7541 #6C1F75 #751F28
monochromatic
#06180D #124526 #1F7541 #2CA55C #42CD79

Accessibility & contrast

On white

5.71
#1F7541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#1F7541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7541
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7541#FFFFFF#000000##FFFFFF
##1F75411.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3D
Deuteranopia (green-blind)
#6B6345
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #1f7541;
/* rgb */ color: rgb(31, 117, 65);
/* oklch */ color: oklch(49.9% 0.115 152.4);
Tailwind
colors: {
  custom: {
    50: '#689e76',
    500: '#1f7541',
    950: '#000000',
  },
}
SCSS
$custom: #1f7541;
$custom-light: #689e76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7541",
  "rgb": {
    "r": 31,
    "g": 117,
    "b": 65
  },
  "hsl": {
    "h": 143.721,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4988,
    "c": 0.115,
    "h": 152.4
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#1F7541
secondary
#A94782
accent
#46A4E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #1F7541

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

Preview Lab → · Contrast checker → · Palette generator →

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