#1F813D#1F813D

#1F813D is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.2% C 0.136 H 149.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#1F813D
RGBrgb(31, 129, 61)
HSLhsl(138, 61%, 31%)
HSVhsv(138, 76%, 51%)
CMYKcmyk(76%, 0%, 52.7%, 49.4%)
CIE-LABlab(47.40, -43.24, 28.90)
CIE-LCHlch(47.40, 52.01, 146.24°)
OKLaboklab(53.21% -0.1163 0.0699)
OKLCHoklch(53.21% 0.136 149)
XYZxyz(9.2569, 16.3277, 7.0777)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F813D #811F63
analogous
#32811F #1F813D #1F816E
triadic
#1F813D #3D1F81 #813D1F
tetradic
#1F813D #1F3281 #811F63 #816E1F
square
#1F813D #1F3281 #811F63 #816E1F
split-complementary
#1F813D #6E1F81 #811F32
monochromatic
#071E0E #135026 #1F813D #2BB254 #47D372

Accessibility & contrast

On white

4.92
#1F813D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#1F813D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F813D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F813D#FFFFFF#000000##FFFFFF
##1F813D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827537
Deuteranopia (green-blind)
#776D42
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f813d;
/* rgb */ color: rgb(31, 129, 61);
/* oklch */ color: oklch(53.2% 0.136 149.0);
Tailwind
colors: {
  custom: {
    50: '#6ba674',
    500: '#1f813d',
    950: '#000000',
  },
}
SCSS
$custom: #1f813d;
$custom-light: #6ba674;
$custom-dark: #000000;
JSON
{
  "hex": "#1f813d",
  "rgb": {
    "r": 31,
    "g": 129,
    "b": 61
  },
  "hsl": {
    "h": 138.367,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53205,
    "c": 0.13569,
    "h": 149
  },
  "luminance": 0.16329
}

Semantic roles & 50–950 ramp

primary
#1F813D
secondary
#B44893
accent
#43B3E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F813D

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

Preview Lab → · Contrast checker → · Palette generator →

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