#1F7D35#1F7D35

#1F7D35 is a mid, vivid green. Relative luminance 0.152; OKLCH L 51.9% C 0.138 H 147.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#1F7D35
RGBrgb(31, 125, 53)
HSLhsl(134, 60%, 31%)
HSVhsv(134, 75%, 49%)
CMYKcmyk(75.2%, 0%, 57.6%, 51%)
CIE-LABlab(45.93, -42.97, 31.28)
CIE-LCHlch(45.93, 53.16, 143.95°)
OKLaboklab(51.95% -0.1157 0.0747)
OKLCHoklch(51.95% 0.138 147.2)
XYZxyz(8.5407, 15.2146, 5.8541)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7D35 #7D1F67
analogous
#387D1F #1F7D35 #1F7D64
triadic
#1F7D35 #351F7D #7D351F
tetradic
#1F7D35 #1F387D #7D1F67 #7D641F
square
#1F7D35 #1F387D #7D1F67 #7D641F
split-complementary
#1F7D35 #641F7D #7D1F38
monochromatic
#071B0B #134C20 #1F7D35 #2BAE4A #45D166

Accessibility & contrast

On white

5.19
#1F7D35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#1F7D35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7D35
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7D35#FFFFFF#000000##FFFFFF
##1F7D351.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F712E
Deuteranopia (green-blind)
#746A3B
Tritanopia (blue-blind)
#007A6D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #1f7d35;
/* rgb */ color: rgb(31, 125, 53);
/* oklch */ color: oklch(51.9% 0.138 147.2);
Tailwind
colors: {
  custom: {
    50: '#6aa46e',
    500: '#1f7d35',
    950: '#000000',
  },
}
SCSS
$custom: #1f7d35;
$custom-light: #6aa46e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7d35",
  "rgb": {
    "r": 31,
    "g": 125,
    "b": 53
  },
  "hsl": {
    "h": 134.043,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.13773,
    "h": 147.2
  },
  "luminance": 0.15216
}

Semantic roles & 50–950 ramp

primary
#1F7D35
secondary
#B04898
accent
#44BEE3
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1F7D35

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

Preview Lab → · Contrast checker → · Palette generator →

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