#1F822F#1F822F

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

Color values

HEX#1F822F
RGBrgb(31, 130, 47)
HSLhsl(130, 61%, 32%)
HSVhsv(130, 76%, 51%)
CMYKcmyk(76.2%, 0%, 63.8%, 49%)
CIE-LABlab(47.57, -45.62, 36.18)
CIE-LCHlch(47.57, 58.23, 141.58°)
OKLaboklab(53.29% -0.1231 0.0848)
OKLCHoklch(53.29% 0.149 145.4)
XYZxyz(9.0602, 16.4608, 5.3885)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F822F #821F72
analogous
#41821F #1F822F #1F8261
triadic
#1F822F #2F1F82 #822F1F
tetradic
#1F822F #1F4182 #821F72 #82611F
square
#1F822F #1F4182 #821F72 #82611F
split-complementary
#1F822F #611F82 #821F41
monochromatic
#071F0B #13511D #1F822F #2BB341 #48D35F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F822F#FFFFFF#000000##FFFFFF
##1F822F1.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)
#847626
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#007F70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f822f;
/* rgb */ color: rgb(31, 130, 47);
/* oklch */ color: oklch(53.3% 0.149 145.4);
Tailwind
colors: {
  custom: {
    50: '#6ba76b',
    500: '#1f822f',
    950: '#000000',
  },
}
SCSS
$custom: #1f822f;
$custom-light: #6ba76b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f822f",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 129.697,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53293,
    "c": 0.14946,
    "h": 145.4
  },
  "luminance": 0.16462
}

Semantic roles & 50–950 ramp

primary
#1F822F
secondary
#B548A3
accent
#43CBE5
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F822F

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

Preview Lab → · Contrast checker → · Palette generator →

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