#1F7336#1F7336

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

Color values

HEX#1F7336
RGBrgb(31, 115, 54)
HSLhsl(136, 58%, 29%)
HSVhsv(136, 73%, 45%)
CMYKcmyk(73%, 0%, 53%, 54.9%)
CIE-LABlab(42.49, -38.98, 26.57)
CIE-LCHlch(42.49, 47.17, 145.72°)
OKLaboklab(49.11% -0.105 0.0643)
OKLCHoklch(49.11% 0.123 148.5)
XYZxyz(7.3611, 12.8183, 5.5756)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7336 #731F5C
analogous
#32731F #1F7336 #1F7360
triadic
#1F7336 #361F73 #73361F
tetradic
#1F7336 #1F3273 #731F5C #73601F
square
#1F7336 #1F3273 #731F5C #73601F
split-complementary
#1F7336 #601F73 #731F32
monochromatic
#06180B #12431F #1F7336 #2CA34D #41CC67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F7336#FFFFFF#000000##FFFFFF
##1F73361.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f7336;
/* rgb */ color: rgb(31, 115, 54);
/* oklch */ color: oklch(49.1% 0.123 148.5);
Tailwind
colors: {
  custom: {
    50: '#679c6e',
    500: '#1f7336',
    950: '#000000',
  },
}
SCSS
$custom: #1f7336;
$custom-light: #679c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7336",
  "rgb": {
    "r": 31,
    "g": 115,
    "b": 54
  },
  "hsl": {
    "h": 136.429,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4911,
    "c": 0.1231,
    "h": 148.5
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#1F7336
secondary
#A7478D
accent
#47B7E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #1F7336

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

Preview Lab → · Contrast checker → · Palette generator →

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