#1F9943#1F9943

#1F9943 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.162 H 148.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#1F9943
RGBrgb(31, 153, 67)
HSLhsl(138, 66%, 36%)
HSVhsv(138, 80%, 60%)
CMYKcmyk(79.7%, 0%, 56.2%, 40%)
CIE-LABlab(55.56, -51.05, 35.76)
CIE-LCHlch(55.56, 62.32, 144.99°)
OKLaboklab(59.99% -0.1372 0.0855)
OKLCHoklch(59.99% 0.162 148.1)
XYZxyz(12.9684, 23.4775, 9.1572)
Luminance0.2348 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9943 #991F75
analogous
#38991F #1F9943 #1F9980
triadic
#1F9943 #431F99 #99431F
tetradic
#1F9943 #1F3899 #991F75 #99801F
square
#1F9943 #1F3899 #991F75 #99801F
split-complementary
#1F9943 #801F99 #991F38
monochromatic
#0A3316 #15662D #1F9943 #29CC59 #56DD7E

Accessibility & contrast

On white

3.69
#1F9943 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#1F9943 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9943
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9943#FFFFFF#000000##000000
##1F99431.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B3B
Deuteranopia (green-blind)
#8D814A
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9943;
/* rgb */ color: rgb(31, 153, 67);
/* oklch */ color: oklch(60.0% 0.162 148.1);
Tailwind
colors: {
  custom: {
    50: '#70b879',
    500: '#1f9943',
    950: '#000000',
  },
}
SCSS
$custom: #1f9943;
$custom-light: #70b879;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9943",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 67
  },
  "hsl": {
    "h": 137.705,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59989,
    "c": 0.16163,
    "h": 148.1
  },
  "luminance": 0.23479
}

Semantic roles & 50–950 ramp

primary
#1F9943
secondary
#C054A0
accent
#3FB7E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9943

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

Preview Lab → · Contrast checker → · Palette generator →

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