#1F992A#1F992A

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

Color values

HEX#1F992A
RGBrgb(31, 153, 42)
HSLhsl(125, 66%, 36%)
HSVhsv(125, 80%, 60%)
CMYKcmyk(79.7%, 0%, 72.5%, 40%)
CIE-LABlab(55.32, -54.00, 46.76)
CIE-LCHlch(55.32, 71.43, 139.11°)
OKLaboklab(59.71% -0.1461 0.1065)
OKLCHoklch(59.71% 0.181 143.9)
XYZxyz(12.3734, 23.2395, 6.0236)
Luminance0.2324 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F992A #991F8E
analogous
#51991F #1F992A #1F9967
triadic
#1F992A #2A1F99 #992A1F
tetradic
#1F992A #1F5199 #991F8E #99671F
square
#1F992A #1F5199 #991F8E #99671F
split-complementary
#1F992A #671F99 #991F51
monochromatic
#0A330E #15661C #1F992A #29CC38 #56DD62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F992A#FFFFFF#000000##000000
##1F992A1.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)
#9C8A18
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#009583
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #1f992a;
/* rgb */ color: rgb(31, 153, 42);
/* oklch */ color: oklch(59.7% 0.181 143.9);
Tailwind
colors: {
  custom: {
    50: '#72b86a',
    500: '#1f992a',
    950: '#000000',
  },
}
SCSS
$custom: #1f992a;
$custom-light: #72b86a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f992a",
  "rgb": {
    "r": 31,
    "g": 153,
    "b": 42
  },
  "hsl": {
    "h": 125.41,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59709,
    "c": 0.1808,
    "h": 143.9
  },
  "luminance": 0.23241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1F992A

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

Preview Lab → · Contrast checker → · Palette generator →

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