#1F8422#1F8422

#1F8422 is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.161 H 143.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#1F8422
RGBrgb(31, 132, 34)
HSLhsl(122, 62%, 32%)
HSVhsv(122, 77%, 52%)
CMYKcmyk(76.5%, 0%, 74.2%, 48.2%)
CIE-LABlab(48.14, -47.71, 42.50)
CIE-LCHlch(48.14, 63.89, 138.30°)
OKLaboklab(53.73% -0.1294 0.0966)
OKLCHoklch(53.73% 0.161 143.3)
XYZxyz(9.1045, 16.9083, 4.2969)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8422 #841F81
analogous
#4F841F #1F8422 #1F8455
triadic
#1F8422 #221F84 #84221F
tetradic
#1F8422 #1F4F84 #841F81 #84551F
square
#1F8422 #1F4F84 #841F81 #84551F
split-complementary
#1F8422 #551F84 #841F4F
monochromatic
#082108 #135215 #1F8422 #2BB62F #49D44D

Accessibility & contrast

On white

4.79
#1F8422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#1F8422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8422
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8422#FFFFFF#000000##FFFFFF
##1F84221.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877711
Deuteranopia (green-blind)
#7C6F2C
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8422;
/* rgb */ color: rgb(31, 132, 34);
/* oklch */ color: oklch(53.7% 0.161 143.3);
Tailwind
colors: {
  custom: {
    50: '#6da963',
    500: '#1f8422',
    950: '#000000',
  },
}
SCSS
$custom: #1f8422;
$custom-light: #6da963;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8422",
  "rgb": {
    "r": 31,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 121.782,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5373,
    "c": 0.16144,
    "h": 143.3
  },
  "luminance": 0.16909
}

Semantic roles & 50–950 ramp

primary
#1F8422
secondary
#B748B3
accent
#43E0E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8422

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

Preview Lab → · Contrast checker → · Palette generator →

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