#1F822E#1F822E

#1F822E is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.3% C 0.150 H 145.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#1F822E
RGBrgb(31, 130, 46)
HSLhsl(129, 61%, 32%)
HSVhsv(129, 76%, 51%)
CMYKcmyk(76.2%, 0%, 64.6%, 49%)
CIE-LABlab(47.56, -45.74, 36.64)
CIE-LCHlch(47.56, 58.61, 141.30°)
OKLaboklab(53.28% -0.1235 0.0857)
OKLCHoklch(53.28% 0.15 145.2)
XYZxyz(9.0402, 16.4528, 5.2835)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F822E #821F73
analogous
#42821F #1F822E #1F8260
triadic
#1F822E #2E1F82 #822E1F
tetradic
#1F822E #1F4282 #821F73 #82601F
square
#1F822E #1F4282 #821F73 #82601F
split-complementary
#1F822E #601F82 #821F42
monochromatic
#071F0B #13511D #1F822E #2BB33F #48D35D

Accessibility & contrast

On white

4.89
#1F822E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F822E
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F822E#FFFFFF#000000##FFFFFF
##1F822E1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f822e;
/* rgb */ color: rgb(31, 130, 46);
/* oklch */ color: oklch(53.3% 0.150 145.2);
Tailwind
colors: {
  custom: {
    50: '#6ba76a',
    500: '#1f822e',
    950: '#000000',
  },
}
SCSS
$custom: #1f822e;
$custom-light: #6ba76a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f822e",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 46
  },
  "hsl": {
    "h": 129.091,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.15027,
    "h": 145.2
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#1F822E
secondary
#B548A4
accent
#43CCE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F822E

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

Preview Lab → · Contrast checker → · Palette generator →

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