#1F992B#1F992B

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

Color values

HEX#1F992B
RGBrgb(31, 153, 43)
HSLhsl(126, 66%, 36%)
HSVhsv(126, 80%, 60%)
CMYKcmyk(79.7%, 0%, 71.9%, 40%)
CIE-LABlab(55.33, -53.91, 46.37)
CIE-LCHlch(55.33, 71.10, 139.30°)
OKLaboklab(59.72% -0.1458 0.1059)
OKLCHoklch(59.72% 0.18 144)
XYZxyz(12.3915, 23.2467, 6.1190)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F992B #991F8D
analogous
#50991F #1F992B #1F9968
triadic
#1F992B #2B1F99 #992B1F
tetradic
#1F992B #1F5099 #991F8D #99681F
square
#1F992B #1F5099 #991F8D #99681F
split-complementary
#1F992B #681F99 #991F50
monochromatic
#0A330E #15661D #1F992B #29CC39 #56DD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F992B#FFFFFF#000000##000000
##1F992B1.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)
#9C8A1A
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f992b;
/* rgb */ color: rgb(31, 153, 43);
/* oklch */ color: oklch(59.7% 0.180 144.0);
Tailwind
colors: {
  custom: {
    50: '#72b86b',
    500: '#1f992b',
    950: '#000000',
  },
}
SCSS
$custom: #1f992b;
$custom-light: #72b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f992b",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 125.902,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.18015,
    "h": 144
  },
  "luminance": 0.23248
}

Semantic roles & 50–950 ramp

primary
#1F992B
secondary
#C054B6
accent
#3FD8E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #1F992B

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

Preview Lab → · Contrast checker → · Palette generator →

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