#1F9017#1F9017

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

Color values

HEX#1F9017
RGBrgb(31, 144, 23)
HSLhsl(116, 72%, 33%)
HSVhsv(116, 84%, 56%)
CMYKcmyk(78.5%, 0%, 84%, 43.5%)
CIE-LABlab(52.17, -52.48, 50.15)
CIE-LCHlch(52.17, 72.59, 136.30°)
OKLaboklab(57.06% -0.1428 0.111)
OKLCHoklch(57.06% 0.181 142.1)
XYZxyz(10.6923, 20.2984, 4.1649)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9017 #881790
analogous
#5B9017 #1F9017 #17904B
triadic
#1F9017 #171F90 #90171F
tetradic
#1F9017 #175B90 #881790 #904B17
square
#1F9017 #175B90 #881790 #904B17
split-complementary
#1F9017 #4B1790 #90175B
monochromatic
#082606 #145B0F #1F9017 #2AC51F #4BE141

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1f9017;
/* rgb */ color: rgb(31, 144, 23);
/* oklch */ color: oklch(57.1% 0.181 142.1);
Tailwind
colors: {
  custom: {
    50: '#70b260',
    500: '#1f9017',
    950: '#000000',
  },
}
SCSS
$custom: #1f9017;
$custom-light: #70b260;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9017",
  "rgb": {
    "r": 31,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 116.033,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.18087,
    "h": 142.1
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#1F9017
secondary
#B942C1
accent
#39EFE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #1F9017

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

Preview Lab → · Contrast checker → · Palette generator →

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