#1F943F#1F943F

#1F943F is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.159 H 147.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#1F943F
RGBrgb(31, 148, 63)
HSLhsl(136, 65%, 35%)
HSVhsv(136, 79%, 58%)
CMYKcmyk(79.1%, 0%, 57.4%, 42%)
CIE-LABlab(53.84, -49.87, 35.69)
CIE-LCHlch(53.84, 61.32, 144.41°)
OKLaboklab(58.55% -0.1341 0.0851)
OKLCHoklch(58.55% 0.159 147.6)
XYZxyz(12.0512, 21.8286, 8.2799)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F943F #941F74
analogous
#3A941F #1F943F #1F9479
triadic
#1F943F #3F1F94 #943F1F
tetradic
#1F943F #1F3A94 #941F74 #94791F
square
#1F943F #1F3A94 #941F74 #94791F
split-complementary
#1F943F #791F94 #941F3A
monochromatic
#0A2F14 #146129 #1F943F #2AC755 #53DB78

Accessibility & contrast

On white

3.91
#1F943F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#1F943F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F943F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F943F#FFFFFF#000000##000000
##1F943F1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f943f;
/* rgb */ color: rgb(31, 148, 63);
/* oklch */ color: oklch(58.6% 0.159 147.6);
Tailwind
colors: {
  custom: {
    50: '#6fb476',
    500: '#1f943f',
    950: '#000000',
  },
}
SCSS
$custom: #1f943f;
$custom-light: #6fb476;
$custom-dark: #000000;
JSON
{
  "hex": "#1f943f",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 63
  },
  "hsl": {
    "h": 136.41,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.15878,
    "h": 147.6
  },
  "luminance": 0.2183
}

Semantic roles & 50–950 ramp

primary
#1F943F
secondary
#BE51A0
accent
#3FBAE8
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F943F

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

Preview Lab → · Contrast checker → · Palette generator →

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