#1F7F46#1F7F46

#1F7F46 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.124 H 152.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#1F7F46
RGBrgb(31, 127, 70)
HSLhsl(144, 61%, 31%)
HSVhsv(144, 76%, 50%)
CMYKcmyk(75.6%, 0%, 44.9%, 50.2%)
CIE-LABlab(46.86, -40.88, 23.32)
CIE-LCHlch(46.86, 47.06, 150.30°)
OKLaboklab(52.8% -0.11 0.0576)
OKLCHoklch(52.8% 0.124 152.4)
XYZxyz(9.2591, 15.9112, 8.3763)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7F46 #7F1F58
analogous
#287F1F #1F7F46 #1F7F76
triadic
#1F7F46 #461F7F #7F461F
tetradic
#1F7F46 #1F287F #7F1F58 #7F761F
square
#1F7F46 #1F287F #7F1F58 #7F761F
split-complementary
#1F7F46 #761F7F #7F1F28
monochromatic
#071D10 #134E2B #1F7F46 #2BB061 #46D27F

Accessibility & contrast

On white

5.02
#1F7F46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#1F7F46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7F46
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7F46#FFFFFF#000000##FFFFFF
##1F7F461.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7442
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f7f46;
/* rgb */ color: rgb(31, 127, 70);
/* oklch */ color: oklch(52.8% 0.124 152.4);
Tailwind
colors: {
  custom: {
    50: '#6aa57a',
    500: '#1f7f46',
    950: '#000000',
  },
}
SCSS
$custom: #1f7f46;
$custom-light: #6aa57a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7f46",
  "rgb": {
    "r": 31,
    "g": 127,
    "b": 70
  },
  "hsl": {
    "h": 144.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52801,
    "c": 0.12419,
    "h": 152.4
  },
  "luminance": 0.15912
}

Semantic roles & 50–950 ramp

primary
#1F7F46
secondary
#B24887
accent
#44A3E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F7F46

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

Preview Lab → · Contrast checker → · Palette generator →

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