#1F732F#1F732F

#1F732F is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.0% C 0.130 H 146.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F732F
RGBrgb(31, 115, 47)
HSLhsl(131, 58%, 29%)
HSVhsv(131, 73%, 45%)
CMYKcmyk(73%, 0%, 59.1%, 54.9%)
CIE-LABlab(42.40, -40.06, 30.17)
CIE-LCHlch(42.40, 50.15, 143.02°)
OKLaboklab(49% -0.108 0.0718)
OKLCHoklch(49% 0.13 146.4)
XYZxyz(7.2084, 12.7572, 4.7713)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F732F #731F63
analogous
#39731F #1F732F #1F7359
triadic
#1F732F #2F1F73 #732F1F
tetradic
#1F732F #1F3973 #731F63 #73591F
square
#1F732F #1F3973 #731F63 #73591F
split-complementary
#1F732F #591F73 #731F39
monochromatic
#06180A #12431B #1F732F #2CA343 #41CC5B

Accessibility & contrast

On white

5.91
#1F732F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#1F732F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F732F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F732F#FFFFFF#000000##FFFFFF
##1F732F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756828
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #1f732f;
/* rgb */ color: rgb(31, 115, 47);
/* oklch */ color: oklch(49.0% 0.130 146.4);
Tailwind
colors: {
  custom: {
    50: '#689c6a',
    500: '#1f732f',
    950: '#000000',
  },
}
SCSS
$custom: #1f732f;
$custom-light: #689c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f732f",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 47
  },
  "hsl": {
    "h": 131.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49003,
    "c": 0.12972,
    "h": 146.4
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

primary
#1F732F
secondary
#A74795
accent
#47C3E1
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F732F

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

Preview Lab → · Contrast checker → · Palette generator →

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