#1F823D#1F823D

#1F823D is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.5% C 0.137 H 148.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#1F823D
RGBrgb(31, 130, 61)
HSLhsl(138, 61%, 32%)
HSVhsv(138, 76%, 51%)
CMYKcmyk(76.2%, 0%, 53.1%, 49%)
CIE-LABlab(47.74, -43.61, 29.32)
CIE-LCHlch(47.74, 52.55, 146.09°)
OKLaboklab(53.49% -0.1173 0.0709)
OKLCHoklch(53.49% 0.137 148.9)
XYZxyz(9.3893, 16.5924, 7.1218)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F823D #821F64
analogous
#33821F #1F823D #1F826F
triadic
#1F823D #3D1F82 #823D1F
tetradic
#1F823D #1F3382 #821F64 #826F1F
square
#1F823D #1F3382 #821F64 #826F1F
split-complementary
#1F823D #6F1F82 #821F33
monochromatic
#071F0F #135126 #1F823D #2BB354 #48D372

Accessibility & contrast

On white

4.86
#1F823D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#1F823D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F823D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F823D#FFFFFF#000000##FFFFFF
##1F823D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837637
Deuteranopia (green-blind)
#786E42
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f823d;
/* rgb */ color: rgb(31, 130, 61);
/* oklch */ color: oklch(53.5% 0.137 148.9);
Tailwind
colors: {
  custom: {
    50: '#6ba774',
    500: '#1f823d',
    950: '#000000',
  },
}
SCSS
$custom: #1f823d;
$custom-light: #6ba774;
$custom-dark: #000000;
JSON
{
  "hex": "#1f823d",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 61
  },
  "hsl": {
    "h": 138.182,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53487,
    "c": 0.13704,
    "h": 148.9
  },
  "luminance": 0.16593
}

Semantic roles & 50–950 ramp

primary
#1F823D
secondary
#B54894
accent
#43B4E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F823D

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

Preview Lab → · Contrast checker → · Palette generator →

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