#1F822B#1F822B

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

Color values

HEX#1F822B
RGBrgb(31, 130, 43)
HSLhsl(127, 61%, 32%)
HSVhsv(127, 76%, 51%)
CMYKcmyk(76.2%, 0%, 66.9%, 49%)
CIE-LABlab(47.53, -46.10, 38.00)
CIE-LCHlch(47.53, 59.74, 140.50°)
OKLaboklab(53.25% -0.1246 0.0882)
OKLCHoklch(53.25% 0.153 144.7)
XYZxyz(8.9831, 16.4300, 4.9829)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F822B #821F76
analogous
#45821F #1F822B #1F825D
triadic
#1F822B #2B1F82 #822B1F
tetradic
#1F822B #1F4582 #821F76 #825D1F
square
#1F822B #1F4582 #821F76 #825D1F
split-complementary
#1F822B #5D1F82 #821F45
monochromatic
#071F0A #13511B #1F822B #2BB33B #48D359

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F822B#FFFFFF#000000##FFFFFF
##1F822B1.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)
#847520
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#007E70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f822b;
/* rgb */ color: rgb(31, 130, 43);
/* oklch */ color: oklch(53.2% 0.153 144.7);
Tailwind
colors: {
  custom: {
    50: '#6ca768',
    500: '#1f822b',
    950: '#000000',
  },
}
SCSS
$custom: #1f822b;
$custom-light: #6ca768;
$custom-dark: #000000;
JSON
{
  "hex": "#1f822b",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 127.273,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53247,
    "c": 0.15265,
    "h": 144.7
  },
  "luminance": 0.16431
}

Semantic roles & 50–950 ramp

primary
#1F822B
secondary
#B548A8
accent
#43D1E5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #1F822B

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

Preview Lab → · Contrast checker → · Palette generator →

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