#1F814F#1F814F

#1F814F is a mid, moderate green. Relative luminance 0.166; OKLCH L 53.5% C 0.118 H 155.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F814F
RGBrgb(31, 129, 79)
HSLhsl(149, 61%, 31%)
HSVhsv(149, 76%, 51%)
CMYKcmyk(76%, 0%, 38.8%, 49.4%)
CIE-LABlab(47.69, -39.88, 19.36)
CIE-LCHlch(47.69, 44.33, 154.10°)
OKLaboklab(53.54% -0.1077 0.0485)
OKLCHoklch(53.54% 0.118 155.8)
XYZxyz(9.8257, 16.5552, 10.0733)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F814F #811F51
analogous
#20811F #1F814F #1F8180
triadic
#1F814F #4F1F81 #814F1F
tetradic
#1F814F #1F2081 #811F51 #81801F
square
#1F814F #1F2081 #811F51 #81801F
split-complementary
#1F814F #801F81 #811F20
monochromatic
#071E13 #135031 #1F814F #2BB26D #47D38C

Accessibility & contrast

On white

4.87
#1F814F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F814F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F814F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F814F#FFFFFF#000000##FFFFFF
##1F814F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#746E52
Tritanopia (blue-blind)
#008074
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f814f;
/* rgb */ color: rgb(31, 129, 79);
/* oklch */ color: oklch(53.5% 0.118 155.8);
Tailwind
colors: {
  custom: {
    50: '#6aa680',
    500: '#1f814f',
    950: '#000000',
  },
}
SCSS
$custom: #1f814f;
$custom-light: #6aa680;
$custom-dark: #000000;
JSON
{
  "hex": "#1f814f",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 79
  },
  "hsl": {
    "h": 149.388,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.11814,
    "h": 155.8
  },
  "luminance": 0.16556
}

Semantic roles & 50–950 ramp

primary
#1F814F
secondary
#B4487F
accent
#4396E4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #1F814F

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

Preview Lab → · Contrast checker → · Palette generator →

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