#1F7635#1F7635

#1F7635 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.128 H 147.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#1F7635
RGBrgb(31, 118, 53)
HSLhsl(135, 58%, 29%)
HSVhsv(135, 74%, 46%)
CMYKcmyk(73.7%, 0%, 55.1%, 53.7%)
CIE-LABlab(43.51, -40.31, 28.37)
CIE-LCHlch(43.51, 49.29, 144.86°)
OKLaboklab(49.95% -0.1086 0.0683)
OKLCHoklch(49.95% 0.128 147.8)
XYZxyz(7.6855, 13.5044, 5.5690)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7635 #761F60
analogous
#35761F #1F7635 #1F7661
triadic
#1F7635 #351F76 #76351F
tetradic
#1F7635 #1F3576 #761F60 #76611F
square
#1F7635 #1F3576 #761F60 #76611F
split-complementary
#1F7635 #611F76 #761F35
monochromatic
#06180B #12461F #1F7635 #2CA64B #42CD65

Accessibility & contrast

On white

5.67
#1F7635 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#1F7635 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7635
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7635#FFFFFF#000000##FFFFFF
##1F76351.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776B2F
Deuteranopia (green-blind)
#6D643A
Tritanopia (blue-blind)
#007367
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #1f7635;
/* rgb */ color: rgb(31, 118, 53);
/* oklch */ color: oklch(50.0% 0.128 147.8);
Tailwind
colors: {
  custom: {
    50: '#689e6e',
    500: '#1f7635',
    950: '#000000',
  },
}
SCSS
$custom: #1f7635;
$custom-light: #689e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7635",
  "rgb": {
    "r": 31,
    "g": 118,
    "b": 53
  },
  "hsl": {
    "h": 135.172,
    "s": 58.389,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.12824,
    "h": 147.8
  },
  "luminance": 0.13505
}

Semantic roles & 50–950 ramp

primary
#1F7635
secondary
#AA4791
accent
#46BAE2
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7635

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

Preview Lab → · Contrast checker → · Palette generator →

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