#1F803B#1F803B

#1F803B is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.136 H 148.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#1F803B
RGBrgb(31, 128, 59)
HSLhsl(137, 61%, 31%)
HSVhsv(137, 76%, 50%)
CMYKcmyk(75.8%, 0%, 53.9%, 49.8%)
CIE-LABlab(47.03, -43.18, 29.50)
CIE-LCHlch(47.03, 52.30, 145.66°)
OKLaboklab(52.89% -0.1162 0.0711)
OKLCHoklch(52.89% 0.136 148.5)
XYZxyz(9.0730, 16.0444, 6.7555)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F803B #801F64
analogous
#33801F #1F803B #1F806B
triadic
#1F803B #3B1F80 #803B1F
tetradic
#1F803B #1F3380 #801F64 #806B1F
square
#1F803B #1F3380 #801F64 #806B1F
split-complementary
#1F803B #6B1F80 #801F33
monochromatic
#071D0E #134F24 #1F803B #2BB152 #47D26F

Accessibility & contrast

On white

4.99
#1F803B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F803B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F803B#FFFFFF#000000##FFFFFF
##1F803B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817435
Deuteranopia (green-blind)
#766C40
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f803b;
/* rgb */ color: rgb(31, 128, 59);
/* oklch */ color: oklch(52.9% 0.136 148.5);
Tailwind
colors: {
  custom: {
    50: '#6aa672',
    500: '#1f803b',
    950: '#000000',
  },
}
SCSS
$custom: #1f803b;
$custom-light: #6aa672;
$custom-dark: #000000;
JSON
{
  "hex": "#1f803b",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 59
  },
  "hsl": {
    "h": 137.32,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.13622,
    "h": 148.5
  },
  "luminance": 0.16045
}

Semantic roles & 50–950 ramp

primary
#1F803B
secondary
#B34894
accent
#44B6E4
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #1F803B

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

Preview Lab → · Contrast checker → · Palette generator →

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