#1F8541#1F8541

#1F8541 is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.4% C 0.137 H 149.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#1F8541
RGBrgb(31, 133, 65)
HSLhsl(140, 62%, 32%)
HSVhsv(140, 77%, 52%)
CMYKcmyk(76.7%, 0%, 51.1%, 47.8%)
CIE-LABlab(48.82, -44.09, 28.53)
CIE-LCHlch(48.82, 52.52, 147.09°)
OKLaboklab(54.4% -0.1185 0.0693)
OKLCHoklch(54.4% 0.137 149.7)
XYZxyz(9.9059, 17.4469, 7.8455)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8541 #851F63
analogous
#30851F #1F8541 #1F8574
triadic
#1F8541 #411F85 #85411F
tetradic
#1F8541 #1F3085 #851F63 #85741F
square
#1F8541 #1F3085 #851F63 #85741F
split-complementary
#1F8541 #741F85 #851F30
monochromatic
#082210 #135329 #1F8541 #2BB759 #4AD578

Accessibility & contrast

On white

4.68
#1F8541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F8541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8541
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8541#FFFFFF#000000##FFFFFF
##1F85411.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7A7146
Tritanopia (blue-blind)
#008275
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8541;
/* rgb */ color: rgb(31, 133, 65);
/* oklch */ color: oklch(54.4% 0.137 149.7);
Tailwind
colors: {
  custom: {
    50: '#6ba977',
    500: '#1f8541',
    950: '#000000',
  },
}
SCSS
$custom: #1f8541;
$custom-light: #6ba977;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8541",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 65
  },
  "hsl": {
    "h": 140,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.13731,
    "h": 149.7
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#1F8541
secondary
#B74992
accent
#43AFE5
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#081009
muted
#7A7F7B

Preview Lab

Preview with #1F8541

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

Preview Lab → · Contrast checker → · Palette generator →

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