#1F8239#1F8239

#1F8239 is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.4% C 0.141 H 147.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#1F8239
RGBrgb(31, 130, 57)
HSLhsl(136, 61%, 32%)
HSVhsv(136, 76%, 51%)
CMYKcmyk(76.2%, 0%, 56.2%, 49%)
CIE-LABlab(47.69, -44.24, 31.34)
CIE-LCHlch(47.69, 54.22, 144.68°)
OKLaboklab(53.43% -0.119 0.0751)
OKLCHoklch(53.43% 0.141 147.8)
XYZxyz(9.2855, 16.5509, 6.5754)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8239 #821F68
analogous
#36821F #1F8239 #1F826B
triadic
#1F8239 #391F82 #82391F
tetradic
#1F8239 #1F3682 #821F68 #826B1F
square
#1F8239 #1F3682 #821F68 #826B1F
split-complementary
#1F8239 #6B1F82 #821F36
monochromatic
#071F0E #135123 #1F8239 #2BB34F #48D36D

Accessibility & contrast

On white

4.87
#1F8239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#1F8239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8239
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8239#FFFFFF#000000##FFFFFF
##1F82391.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8239;
/* rgb */ color: rgb(31, 130, 57);
/* oklch */ color: oklch(53.4% 0.141 147.8);
Tailwind
colors: {
  custom: {
    50: '#6ba771',
    500: '#1f8239',
    950: '#000000',
  },
}
SCSS
$custom: #1f8239;
$custom-light: #6ba771;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8239",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 57
  },
  "hsl": {
    "h": 135.758,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53426,
    "c": 0.14075,
    "h": 147.8
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#1F8239
secondary
#B54898
accent
#43BAE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F8239

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

Preview Lab → · Contrast checker → · Palette generator →

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