#1F7335#1F7335

#1F7335 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.124 H 148.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#1F7335
RGBrgb(31, 115, 53)
HSLhsl(136, 58%, 29%)
HSVhsv(136, 73%, 45%)
CMYKcmyk(73%, 0%, 53.9%, 54.9%)
CIE-LABlab(42.47, -39.14, 27.10)
CIE-LCHlch(42.47, 47.60, 145.31°)
OKLaboklab(49.09% -0.1054 0.0654)
OKLCHoklch(49.09% 0.124 148.2)
XYZxyz(7.3379, 12.8090, 5.4531)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7335 #731F5D
analogous
#33731F #1F7335 #1F735F
triadic
#1F7335 #351F73 #73351F
tetradic
#1F7335 #1F3373 #731F5D #735F1F
square
#1F7335 #1F3373 #731F5D #735F1F
split-complementary
#1F7335 #5F1F73 #731F33
monochromatic
#06180B #12431F #1F7335 #2CA34B #41CC65

Accessibility & contrast

On white

5.90
#1F7335 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#1F7335 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7335
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7335#FFFFFF#000000##FFFFFF
##1F73351.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746930
Deuteranopia (green-blind)
#6A613A
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f7335;
/* rgb */ color: rgb(31, 115, 53);
/* oklch */ color: oklch(49.1% 0.124 148.2);
Tailwind
colors: {
  custom: {
    50: '#679c6e',
    500: '#1f7335',
    950: '#000000',
  },
}
SCSS
$custom: #1f7335;
$custom-light: #679c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7335",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 53
  },
  "hsl": {
    "h": 135.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49094,
    "c": 0.12407,
    "h": 148.2
  },
  "luminance": 0.1281
}

Semantic roles & 50–950 ramp

primary
#1F7335
secondary
#A7478E
accent
#47B9E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7335

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

Preview Lab → · Contrast checker → · Palette generator →

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