#1F803E#1F803E

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

Color values

HEX#1F803E
RGBrgb(31, 128, 62)
HSLhsl(139, 61%, 31%)
HSVhsv(139, 76%, 50%)
CMYKcmyk(75.8%, 0%, 51.6%, 49.8%)
CIE-LABlab(47.07, -42.69, 27.96)
CIE-LCHlch(47.07, 51.03, 146.78°)
OKLaboklab(52.94% -0.1148 0.0678)
OKLCHoklch(52.94% 0.133 149.4)
XYZxyz(9.1530, 16.0764, 7.1772)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F803E #801F61
analogous
#30801F #1F803E #1F806E
triadic
#1F803E #3E1F80 #803E1F
tetradic
#1F803E #1F3080 #801F61 #806E1F
square
#1F803E #1F3080 #801F61 #806E1F
split-complementary
#1F803E #6E1F80 #801F30
monochromatic
#071D0E #134F26 #1F803E #2BB156 #47D274

Accessibility & contrast

On white

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

On black

4.22
#1F803E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F803E#FFFFFF#000000##FFFFFF
##1F803E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817439
Deuteranopia (green-blind)
#766C43
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f803e;
/* rgb */ color: rgb(31, 128, 62);
/* oklch */ color: oklch(52.9% 0.133 149.4);
Tailwind
colors: {
  custom: {
    50: '#6aa674',
    500: '#1f803e',
    950: '#000000',
  },
}
SCSS
$custom: #1f803e;
$custom-light: #6aa674;
$custom-dark: #000000;
JSON
{
  "hex": "#1f803e",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 62
  },
  "hsl": {
    "h": 139.175,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5294,
    "c": 0.13338,
    "h": 149.4
  },
  "luminance": 0.16077
}

Semantic roles & 50–950 ramp

primary
#1F803E
secondary
#B34891
accent
#44B1E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F803E

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

Preview Lab → · Contrast checker → · Palette generator →

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