#1F823C#1F823C

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

Color values

HEX#1F823C
RGBrgb(31, 130, 60)
HSLhsl(138, 61%, 32%)
HSVhsv(138, 76%, 51%)
CMYKcmyk(76.2%, 0%, 53.8%, 49%)
CIE-LABlab(47.73, -43.78, 29.83)
CIE-LCHlch(47.73, 52.97, 145.73°)
OKLaboklab(53.47% -0.1177 0.0719)
OKLCHoklch(53.47% 0.138 148.6)
XYZxyz(9.3626, 16.5817, 6.9813)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F823C #821F65
analogous
#34821F #1F823C #1F826E
triadic
#1F823C #3C1F82 #823C1F
tetradic
#1F823C #1F3482 #821F65 #826E1F
square
#1F823C #1F3482 #821F65 #826E1F
split-complementary
#1F823C #6E1F82 #821F34
monochromatic
#071F0E #135125 #1F823C #2BB353 #48D371

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F823C#FFFFFF#000000##FFFFFF
##1F823C1.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)
#837636
Deuteranopia (green-blind)
#786E41
Tritanopia (blue-blind)
#007F72
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f823c;
/* rgb */ color: rgb(31, 130, 60);
/* oklch */ color: oklch(53.5% 0.138 148.6);
Tailwind
colors: {
  custom: {
    50: '#6ba773',
    500: '#1f823c',
    950: '#000000',
  },
}
SCSS
$custom: #1f823c;
$custom-light: #6ba773;
$custom-dark: #000000;
JSON
{
  "hex": "#1f823c",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 60
  },
  "hsl": {
    "h": 137.576,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.13798,
    "h": 148.6
  },
  "luminance": 0.16583
}

Semantic roles & 50–950 ramp

primary
#1F823C
secondary
#B54895
accent
#43B5E5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F823C

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

Preview Lab → · Contrast checker → · Palette generator →

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