#1F8224#1F8224

#1F8224 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.2% C 0.158 H 143.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#1F8224
RGBrgb(31, 130, 36)
HSLhsl(123, 61%, 32%)
HSVhsv(123, 76%, 51%)
CMYKcmyk(76.2%, 0%, 72.3%, 49%)
CIE-LABlab(47.47, -46.83, 40.99)
CIE-LCHlch(47.47, 62.24, 138.80°)
OKLaboklab(53.18% -0.1269 0.0937)
OKLCHoklch(53.18% 0.158 143.6)
XYZxyz(8.8656, 16.3829, 4.3637)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8224 #821F7D
analogous
#4C821F #1F8224 #1F8256
triadic
#1F8224 #241F82 #82241F
tetradic
#1F8224 #1F4C82 #821F7D #82561F
square
#1F8224 #1F4C82 #821F7D #82561F
split-complementary
#1F8224 #561F82 #821F4C
monochromatic
#071F09 #135116 #1F8224 #2BB332 #48D34F

Accessibility & contrast

On white

4.91
#1F8224 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#1F8224 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8224
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8224#FFFFFF#000000##FFFFFF
##1F82241.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857516
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8224;
/* rgb */ color: rgb(31, 130, 36);
/* oklch */ color: oklch(53.2% 0.158 143.6);
Tailwind
colors: {
  custom: {
    50: '#6ca764',
    500: '#1f8224',
    950: '#000000',
  },
}
SCSS
$custom: #1f8224;
$custom-light: #6ca764;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8224",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 36
  },
  "hsl": {
    "h": 123.03,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.15774,
    "h": 143.6
  },
  "luminance": 0.16384
}

Semantic roles & 50–950 ramp

primary
#1F8224
secondary
#B548AF
accent
#43DCE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8224

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

Preview Lab → · Contrast checker → · Palette generator →

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