#1F823E#1F823E

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

Color values

HEX#1F823E
RGBrgb(31, 130, 62)
HSLhsl(139, 61%, 32%)
HSVhsv(139, 76%, 51%)
CMYKcmyk(76.2%, 0%, 52.3%, 49%)
CIE-LABlab(47.76, -43.45, 28.81)
CIE-LCHlch(47.76, 52.13, 146.46°)
OKLaboklab(53.5% -0.1169 0.0698)
OKLCHoklch(53.5% 0.136 149.2)
XYZxyz(9.4164, 16.6033, 7.2650)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F823E #821F63
analogous
#32821F #1F823E #1F8270
triadic
#1F823E #3E1F82 #823E1F
tetradic
#1F823E #1F3282 #821F63 #82701F
square
#1F823E #1F3282 #821F63 #82701F
split-complementary
#1F823E #701F82 #821F32
monochromatic
#071F0F #135126 #1F823E #2BB356 #48D374

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F823E#FFFFFF#000000##FFFFFF
##1F823E1.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)
#837638
Deuteranopia (green-blind)
#786E43
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f823e;
/* rgb */ color: rgb(31, 130, 62);
/* oklch */ color: oklch(53.5% 0.136 149.2);
Tailwind
colors: {
  custom: {
    50: '#6ba775',
    500: '#1f823e',
    950: '#000000',
  },
}
SCSS
$custom: #1f823e;
$custom-light: #6ba775;
$custom-dark: #000000;
JSON
{
  "hex": "#1f823e",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 62
  },
  "hsl": {
    "h": 138.788,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.1361,
    "h": 149.2
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#1F823E
secondary
#B54893
accent
#43B2E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F823E

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

Preview Lab → · Contrast checker → · Palette generator →

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