#1F901D#1F901D

#1F901D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.178 H 142.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#1F901D
RGBrgb(31, 144, 29)
HSLhsl(119, 66%, 34%)
HSVhsv(119, 80%, 56%)
CMYKcmyk(78.5%, 0%, 79.9%, 43.5%)
CIE-LABlab(52.20, -52.11, 48.35)
CIE-LCHlch(52.20, 71.08, 137.14°)
OKLaboklab(57.09% -0.1415 0.1081)
OKLCHoklch(57.09% 0.178 142.6)
XYZxyz(10.7594, 20.3253, 4.5183)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F901D #8E1D90
analogous
#59901D #1F901D #1D9055
triadic
#1F901D #1D1F90 #901D1F
tetradic
#1F901D #1D5990 #8E1D90 #90551D
square
#1F901D #1D5990 #8E1D90 #90551D
split-complementary
#1F901D #551D90 #901D59
monochromatic
#092A08 #145D13 #1F901D #2AC327 #4FDB4C

Accessibility & contrast

On white

4.15
#1F901D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#1F901D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F901D
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F901D#FFFFFF#000000##000000
##1F901D1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f901d;
/* rgb */ color: rgb(31, 144, 29);
/* oklch */ color: oklch(57.1% 0.178 142.6);
Tailwind
colors: {
  custom: {
    50: '#70b263',
    500: '#1f901d',
    950: '#000000',
  },
}
SCSS
$custom: #1f901d;
$custom-light: #70b263;
$custom-dark: #000000;
JSON
{
  "hex": "#1f901d",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 118.957,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57092,
    "c": 0.17808,
    "h": 142.6
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#1F901D
secondary
#BB4BBD
accent
#3EE9E6
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F901D

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

Preview Lab → · Contrast checker → · Palette generator →

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