#1F803D#1F803D

#1F803D is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.134 H 149.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#1F803D
RGBrgb(31, 128, 61)
HSLhsl(139, 61%, 31%)
HSVhsv(139, 76%, 50%)
CMYKcmyk(75.8%, 0%, 52.3%, 49.8%)
CIE-LABlab(47.06, -42.86, 28.47)
CIE-LCHlch(47.06, 51.46, 146.40°)
OKLaboklab(52.92% -0.1153 0.069)
OKLCHoklch(52.92% 0.134 149.1)
XYZxyz(9.1258, 16.0655, 7.0340)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F803D #801F62
analogous
#31801F #1F803D #1F806D
triadic
#1F803D #3D1F80 #803D1F
tetradic
#1F803D #1F3180 #801F62 #806D1F
square
#1F803D #1F3180 #801F62 #806D1F
split-complementary
#1F803D #6D1F80 #801F31
monochromatic
#071D0E #134F26 #1F803D #2BB154 #47D272

Accessibility & contrast

On white

4.98
#1F803D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#1F803D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F803D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F803D#FFFFFF#000000##FFFFFF
##1F803D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817437
Deuteranopia (green-blind)
#766C42
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f803d;
/* rgb */ color: rgb(31, 128, 61);
/* oklch */ color: oklch(52.9% 0.134 149.1);
Tailwind
colors: {
  custom: {
    50: '#6aa674',
    500: '#1f803d',
    950: '#000000',
  },
}
SCSS
$custom: #1f803d;
$custom-light: #6aa674;
$custom-dark: #000000;
JSON
{
  "hex": "#1f803d",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 61
  },
  "hsl": {
    "h": 138.557,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.13433,
    "h": 149.1
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#1F803D
secondary
#B34892
accent
#44B2E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F803D

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

Preview Lab → · Contrast checker → · Palette generator →

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