#1F992C#1F992C

#1F992C is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.7% C 0.179 H 144.1°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#1F992C
RGBrgb(31, 153, 44)
HSLhsl(126, 66%, 36%)
HSVhsv(126, 80%, 60%)
CMYKcmyk(79.7%, 0%, 71.2%, 40%)
CIE-LABlab(55.33, -53.81, 45.97)
CIE-LCHlch(55.33, 70.78, 139.49°)
OKLaboklab(59.73% -0.1455 0.1052)
OKLCHoklch(59.73% 0.18 144.1)
XYZxyz(12.4101, 23.2541, 6.2168)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F992C #991F8C
analogous
#4F991F #1F992C #1F9969
triadic
#1F992C #2C1F99 #992C1F
tetradic
#1F992C #1F4F99 #991F8C #99691F
square
#1F992C #1F4F99 #991F8C #99691F
split-complementary
#1F992C #691F99 #991F4F
monochromatic
#0A330F #15661D #1F992C #29CC3B #56DD64

Accessibility & contrast

On white

3.72
#1F992C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#1F992C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F992C
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F992C#FFFFFF#000000##000000
##1F992C1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A1B
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f992c;
/* rgb */ color: rgb(31, 153, 44);
/* oklch */ color: oklch(59.7% 0.179 144.1);
Tailwind
colors: {
  custom: {
    50: '#71b86b',
    500: '#1f992c',
    950: '#000000',
  },
}
SCSS
$custom: #1f992c;
$custom-light: #71b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f992c",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 44
  },
  "hsl": {
    "h": 126.393,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.1795,
    "h": 144.1
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

primary
#1F992C
secondary
#C054B5
accent
#3FD7E9
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F992C

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

Preview Lab → · Contrast checker → · Palette generator →

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