#1F942E#1F942E

#1F942E is a mid, vivid green. Relative luminance 0.217; OKLCH L 58.4% C 0.172 H 144.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#1F942E
RGBrgb(31, 148, 46)
HSLhsl(128, 65%, 35%)
HSVhsv(128, 79%, 58%)
CMYKcmyk(79.1%, 0%, 68.9%, 42%)
CIE-LABlab(53.67, -51.96, 43.38)
CIE-LCHlch(53.67, 67.69, 140.14°)
OKLaboklab(58.35% -0.1403 0.0999)
OKLCHoklch(58.35% 0.172 144.5)
XYZxyz(11.6473, 21.6670, 6.1525)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F942E #941F85
analogous
#4B941F #1F942E #1F9468
triadic
#1F942E #2E1F94 #942E1F
tetradic
#1F942E #1F4B94 #941F85 #94681F
square
#1F942E #1F4B94 #941F85 #94681F
split-complementary
#1F942E #681F94 #941F4B
monochromatic
#0A2F0F #14611E #1F942E #2AC73E #53DB64

Accessibility & contrast

On white

3.94
#1F942E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#1F942E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F942E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F942E#FFFFFF#000000##000000
##1F942E1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8A7D38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #1f942e;
/* rgb */ color: rgb(31, 148, 46);
/* oklch */ color: oklch(58.4% 0.172 144.5);
Tailwind
colors: {
  custom: {
    50: '#70b56c',
    500: '#1f942e',
    950: '#000000',
  },
}
SCSS
$custom: #1f942e;
$custom-light: #70b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f942e",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 127.692,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.17229,
    "h": 144.5
  },
  "luminance": 0.21668
}

Semantic roles & 50–950 ramp

primary
#1F942E
secondary
#BE51B0
accent
#3FD3E8
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F942E

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

Preview Lab → · Contrast checker → · Palette generator →

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