#1F803F#1F803F

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

Color values

HEX#1F803F
RGBrgb(31, 128, 63)
HSLhsl(140, 61%, 31%)
HSVhsv(140, 76%, 50%)
CMYKcmyk(75.8%, 0%, 50.8%, 49.8%)
CIE-LABlab(47.09, -42.52, 27.44)
CIE-LCHlch(47.09, 50.61, 147.17°)
OKLaboklab(52.96% -0.1144 0.0667)
OKLCHoklch(52.96% 0.132 149.7)
XYZxyz(9.1807, 16.0875, 7.3230)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F803F #801F60
analogous
#2F801F #1F803F #1F806F
triadic
#1F803F #3F1F80 #803F1F
tetradic
#1F803F #1F2F80 #801F60 #806F1F
square
#1F803F #1F2F80 #801F60 #806F1F
split-complementary
#1F803F #6F1F80 #801F2F
monochromatic
#071D0F #134F27 #1F803F #2BB157 #47D275

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F803F#FFFFFF#000000##FFFFFF
##1F803F1.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)
#81743A
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007E71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #1f803f;
/* rgb */ color: rgb(31, 128, 63);
/* oklch */ color: oklch(53.0% 0.132 149.7);
Tailwind
colors: {
  custom: {
    50: '#6aa675',
    500: '#1f803f',
    950: '#000000',
  },
}
SCSS
$custom: #1f803f;
$custom-light: #6aa675;
$custom-dark: #000000;
JSON
{
  "hex": "#1f803f",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 63
  },
  "hsl": {
    "h": 139.794,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.13241,
    "h": 149.7
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#1F803F
secondary
#B34890
accent
#44AFE4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F803F

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

Preview Lab → · Contrast checker → · Palette generator →

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