#1F9019#1F9019

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

Color values

HEX#1F9019
RGBrgb(31, 144, 25)
HSLhsl(117, 70%, 33%)
HSVhsv(117, 83%, 56%)
CMYKcmyk(78.5%, 0%, 82.6%, 43.5%)
CIE-LABlab(52.18, -52.36, 49.58)
CIE-LCHlch(52.18, 72.11, 136.56°)
OKLaboklab(57.07% -0.1424 0.1101)
OKLCHoklch(57.07% 0.18 142.3)
XYZxyz(10.7132, 20.3068, 4.2745)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9019 #8A1990
analogous
#5A9019 #1F9019 #19904E
triadic
#1F9019 #191F90 #90191F
tetradic
#1F9019 #195A90 #8A1990 #904E19
square
#1F9019 #195A90 #8A1990 #904E19
split-complementary
#1F9019 #4E1990 #90195A
monochromatic
#092807 #145C10 #1F9019 #2AC422 #4CDF45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9019#FFFFFF#000000##000000
##1F90191.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)
#877928
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #1f9019;
/* rgb */ color: rgb(31, 144, 25);
/* oklch */ color: oklch(57.1% 0.180 142.3);
Tailwind
colors: {
  custom: {
    50: '#70b261',
    500: '#1f9019',
    950: '#000000',
  },
}
SCSS
$custom: #1f9019;
$custom-light: #70b261;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9019",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 25
  },
  "hsl": {
    "h": 116.975,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.18,
    "h": 142.3
  },
  "luminance": 0.20308
}

Semantic roles & 50–950 ramp

primary
#1F9019
secondary
#BA45C0
accent
#3BEDE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1F9019

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

Preview Lab → · Contrast checker → · Palette generator →

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