#1F814A#1F814A

#1F814A is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.123 H 153.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F814A
RGBrgb(31, 129, 74)
HSLhsl(146, 61%, 31%)
HSVhsv(146, 76%, 51%)
CMYKcmyk(76%, 0%, 42.6%, 49.4%)
CIE-LABlab(47.60, -40.90, 22.06)
CIE-LCHlch(47.60, 46.47, 151.66°)
OKLaboklab(53.44% -0.1102 0.0548)
OKLCHoklch(53.44% 0.123 153.6)
XYZxyz(9.6505, 16.4851, 9.1506)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F814A #811F56
analogous
#25811F #1F814A #1F817B
triadic
#1F814A #4A1F81 #814A1F
tetradic
#1F814A #1F2581 #811F56 #817B1F
square
#1F814A #1F2581 #811F56 #817B1F
split-complementary
#1F814A #7B1F81 #811F25
monochromatic
#071E11 #13502E #1F814A #2BB266 #47D385

Accessibility & contrast

On white

4.89
#1F814A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1F814A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F814A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F814A#FFFFFF#000000##FFFFFF
##1F814A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817646
Deuteranopia (green-blind)
#756E4E
Tritanopia (blue-blind)
#007F73
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f814a;
/* rgb */ color: rgb(31, 129, 74);
/* oklch */ color: oklch(53.4% 0.123 153.6);
Tailwind
colors: {
  custom: {
    50: '#6aa67d',
    500: '#1f814a',
    950: '#000000',
  },
}
SCSS
$custom: #1f814a;
$custom-light: #6aa67d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f814a",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 74
  },
  "hsl": {
    "h": 146.327,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.12305,
    "h": 153.6
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

primary
#1F814A
secondary
#B44885
accent
#439EE4
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #1F814A

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

Preview Lab → · Contrast checker → · Palette generator →

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