#1F7337#1F7337

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

Color values

HEX#1F7337
RGBrgb(31, 115, 55)
HSLhsl(137, 58%, 29%)
HSVhsv(137, 73%, 45%)
CMYKcmyk(73%, 0%, 52.2%, 54.9%)
CIE-LABlab(42.50, -38.81, 26.05)
CIE-LCHlch(42.50, 46.74, 146.13°)
OKLaboklab(49.13% -0.1045 0.0632)
OKLCHoklch(49.13% 0.122 148.8)
XYZxyz(7.3848, 12.8278, 5.7005)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7337 #731F5B
analogous
#31731F #1F7337 #1F7361
triadic
#1F7337 #371F73 #73371F
tetradic
#1F7337 #1F3173 #731F5B #73611F
square
#1F7337 #1F3173 #731F5B #73611F
split-complementary
#1F7337 #611F73 #731F31
monochromatic
#06180C #124320 #1F7337 #2CA34E #41CC68

Accessibility & contrast

On white

5.89
#1F7337 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#1F7337 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7337
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7337#FFFFFF#000000##FFFFFF
##1F73371.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7337;
/* rgb */ color: rgb(31, 115, 55);
/* oklch */ color: oklch(49.1% 0.122 148.8);
Tailwind
colors: {
  custom: {
    50: '#679c6f',
    500: '#1f7337',
    950: '#000000',
  },
}
SCSS
$custom: #1f7337;
$custom-light: #679c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7337",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 55
  },
  "hsl": {
    "h": 137.143,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.12212,
    "h": 148.8
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#1F7337
secondary
#A7478B
accent
#47B5E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7337

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

Preview Lab → · Contrast checker → · Palette generator →

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