#1F901A#1F901A

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

Color values

HEX#1F901A
RGBrgb(31, 144, 26)
HSLhsl(117, 69%, 33%)
HSVhsv(117, 82%, 56%)
CMYKcmyk(78.5%, 0%, 81.9%, 43.5%)
CIE-LABlab(52.19, -52.30, 49.29)
CIE-LCHlch(52.19, 71.87, 136.70°)
OKLaboklab(57.07% -0.1422 0.1096)
OKLCHoklch(57.07% 0.18 142.4)
XYZxyz(10.7241, 20.3111, 4.3323)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F901A #8B1A90
analogous
#5A901A #1F901A #1A9050
triadic
#1F901A #1A1F90 #901A1F
tetradic
#1F901A #1A5A90 #8B1A90 #90501A
square
#1F901A #1A5A90 #8B1A90 #90501A
split-complementary
#1F901A #501A90 #901A5A
monochromatic
#092807 #145C11 #1F901A #2AC423 #4DDE47

Accessibility & contrast

On white

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

On black

5.06
#1F901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F901A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F901A#FFFFFF#000000##000000
##1F901A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f901a;
/* rgb */ color: rgb(31, 144, 26);
/* oklch */ color: oklch(57.1% 0.180 142.4);
Tailwind
colors: {
  custom: {
    50: '#70b261',
    500: '#1f901a',
    950: '#000000',
  },
}
SCSS
$custom: #1f901a;
$custom-light: #70b261;
$custom-dark: #000000;
JSON
{
  "hex": "#1f901a",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 117.458,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57074,
    "c": 0.17954,
    "h": 142.4
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#1F901A
secondary
#BA47BF
accent
#3CECE5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1F901A

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

Preview Lab → · Contrast checker → · Palette generator →

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