#1F7435#1F7435

#1F7435 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.125 H 148.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#1F7435
RGBrgb(31, 116, 53)
HSLhsl(136, 58%, 29%)
HSVhsv(136, 73%, 45%)
CMYKcmyk(73.3%, 0%, 54.3%, 54.5%)
CIE-LABlab(42.82, -39.53, 27.52)
CIE-LCHlch(42.82, 48.17, 145.16°)
OKLaboklab(49.38% -0.1065 0.0664)
OKLCHoklch(49.38% 0.125 148.1)
XYZxyz(7.4525, 13.0383, 5.4914)
Luminance0.1304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7435 #741F5E
analogous
#34741F #1F7435 #1F7460
triadic
#1F7435 #351F74 #74351F
tetradic
#1F7435 #1F3474 #741F5E #74601F
square
#1F7435 #1F3474 #741F5E #74601F
split-complementary
#1F7435 #601F74 #741F34
monochromatic
#06180B #12441F #1F7435 #2CA44B #41CC65

Accessibility & contrast

On white

5.82
#1F7435 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#1F7435 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7435
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7435#FFFFFF#000000##FFFFFF
##1F74351.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756930
Deuteranopia (green-blind)
#6B623A
Tritanopia (blue-blind)
#007266
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #1f7435;
/* rgb */ color: rgb(31, 116, 53);
/* oklch */ color: oklch(49.4% 0.125 148.1);
Tailwind
colors: {
  custom: {
    50: '#689d6e',
    500: '#1f7435',
    950: '#000000',
  },
}
SCSS
$custom: #1f7435;
$custom-light: #689d6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7435",
  "rgb": {
    "r": 31,
    "g": 116,
    "b": 53
  },
  "hsl": {
    "h": 135.529,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.12547,
    "h": 148.1
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F7435

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

Preview Lab → · Contrast checker → · Palette generator →

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