#1F943D#1F943D

#1F943D is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.5% C 0.161 H 147.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#1F943D
RGBrgb(31, 148, 61)
HSLhsl(135, 65%, 35%)
HSVhsv(135, 79%, 58%)
CMYKcmyk(79.1%, 0%, 58.8%, 42%)
CIE-LABlab(53.82, -50.15, 36.65)
CIE-LCHlch(53.82, 62.11, 143.84°)
OKLaboklab(58.52% -0.1349 0.087)
OKLCHoklch(58.52% 0.161 147.2)
XYZxyz(11.9964, 21.8066, 7.9908)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F943D #941F76
analogous
#3B941F #1F943D #1F9478
triadic
#1F943D #3D1F94 #943D1F
tetradic
#1F943D #1F3B94 #941F76 #94781F
square
#1F943D #1F3B94 #941F76 #94781F
split-complementary
#1F943D #781F94 #941F3B
monochromatic
#0A2F13 #146128 #1F943D #2AC752 #53DB75

Accessibility & contrast

On white

3.92
#1F943D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#1F943D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F943D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F943D#FFFFFF#000000##000000
##1F943D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968634
Deuteranopia (green-blind)
#897D44
Tritanopia (blue-blind)
#009181
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f943d;
/* rgb */ color: rgb(31, 148, 61);
/* oklch */ color: oklch(58.5% 0.161 147.2);
Tailwind
colors: {
  custom: {
    50: '#6fb475',
    500: '#1f943d',
    950: '#000000',
  },
}
SCSS
$custom: #1f943d;
$custom-light: #6fb475;
$custom-dark: #000000;
JSON
{
  "hex": "#1f943d",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 61
  },
  "hsl": {
    "h": 135.385,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58523,
    "c": 0.16051,
    "h": 147.2
  },
  "luminance": 0.21808
}

Semantic roles & 50–950 ramp

primary
#1F943D
secondary
#BE51A2
accent
#3FBDE8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091108
muted
#7B807B

Preview Lab

Preview with #1F943D

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

Preview Lab → · Contrast checker → · Palette generator →

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