#1F8539#1F8539

#1F8539 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.145 H 147.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8539
RGBrgb(31, 133, 57)
HSLhsl(135, 62%, 32%)
HSVhsv(135, 77%, 52%)
CMYKcmyk(76.7%, 0%, 57.1%, 47.8%)
CIE-LABlab(48.71, -45.35, 32.57)
CIE-LCHlch(48.71, 55.83, 144.31°)
OKLaboklab(54.27% -0.122 0.0778)
OKLCHoklch(54.27% 0.145 147.5)
XYZxyz(9.6904, 17.3606, 6.7103)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8539 #851F6B
analogous
#38851F #1F8539 #1F856C
triadic
#1F8539 #391F85 #85391F
tetradic
#1F8539 #1F3885 #851F6B #856C1F
square
#1F8539 #1F3885 #851F6B #856C1F
split-complementary
#1F8539 #6C1F85 #851F38
monochromatic
#08220E #135324 #1F8539 #2BB74E #4AD56D

Accessibility & contrast

On white

4.70
#1F8539 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8539 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8539
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8539#FFFFFF#000000##FFFFFF
##1F85391.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#7B703F
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8539;
/* rgb */ color: rgb(31, 133, 57);
/* oklch */ color: oklch(54.3% 0.145 147.5);
Tailwind
colors: {
  custom: {
    50: '#6ca971',
    500: '#1f8539',
    950: '#000000',
  },
}
SCSS
$custom: #1f8539;
$custom-light: #6ca971;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8539",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 57
  },
  "hsl": {
    "h": 135.294,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54273,
    "c": 0.14472,
    "h": 147.5
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#1F8539
secondary
#B7499B
accent
#43BCE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081008
muted
#7A7F7B

Preview Lab

Preview with #1F8539

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

Preview Lab → · Contrast checker → · Palette generator →

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