#1F822D#1F822D

#1F822D is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.151 H 145.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F822D
RGBrgb(31, 130, 45)
HSLhsl(128, 61%, 32%)
HSVhsv(128, 76%, 51%)
CMYKcmyk(76.2%, 0%, 65.4%, 49%)
CIE-LABlab(47.55, -45.86, 37.10)
CIE-LCHlch(47.55, 58.99, 141.03°)
OKLaboklab(53.27% -0.1238 0.0865)
OKLCHoklch(53.27% 0.151 145.1)
XYZxyz(9.0207, 16.4450, 5.1809)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F822D #821F74
analogous
#43821F #1F822D #1F825F
triadic
#1F822D #2D1F82 #822D1F
tetradic
#1F822D #1F4382 #821F74 #825F1F
square
#1F822D #1F4382 #821F74 #825F1F
split-complementary
#1F822D #5F1F82 #821F43
monochromatic
#071F0B #13511C #1F822D #2BB33E #48D35C

Accessibility & contrast

On white

4.90
#1F822D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#1F822D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F822D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F822D#FFFFFF#000000##FFFFFF
##1F822D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847623
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f822d;
/* rgb */ color: rgb(31, 130, 45);
/* oklch */ color: oklch(53.3% 0.151 145.1);
Tailwind
colors: {
  custom: {
    50: '#6ca76a',
    500: '#1f822d',
    950: '#000000',
  },
}
SCSS
$custom: #1f822d;
$custom-light: #6ca76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f822d",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 45
  },
  "hsl": {
    "h": 128.485,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.15108,
    "h": 145.1
  },
  "luminance": 0.16446
}

Semantic roles & 50–950 ramp

primary
#1F822D
secondary
#B548A5
accent
#43CEE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1F822D

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

Preview Lab → · Contrast checker → · Palette generator →

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