#1F8A54#1F8A54

#1F8A54 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.1% C 0.126 H 155.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8A54
RGBrgb(31, 138, 84)
HSLhsl(150, 63%, 33%)
HSVhsv(150, 78%, 54%)
CMYKcmyk(77.5%, 0%, 39.1%, 45.9%)
CIE-LABlab(50.81, -42.47, 20.71)
CIE-LCHlch(50.81, 47.25, 154.01°)
OKLaboklab(56.14% -0.1146 0.0518)
OKLCHoklch(56.14% 0.126 155.7)
XYZxyz(11.2527, 19.1070, 11.4808)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A54 #8A1F55
analogous
#1F8A1F #1F8A54 #1F8A89
triadic
#1F8A54 #541F8A #8A541F
tetradic
#1F8A54 #1F1F8A #8A1F55 #8A891F
square
#1F8A54 #1F1F8A #8A1F55 #8A891F
split-complementary
#1F8A54 #891F8A #8A1F1F
monochromatic
#092617 #145836 #1F8A54 #2ABC72 #4CD791

Accessibility & contrast

On white

4.36
#1F8A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#1F8A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A54
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A54#FFFFFF#000000##000000
##1F8A541.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E50
Deuteranopia (green-blind)
#7D7558
Tritanopia (blue-blind)
#00897C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8a54;
/* rgb */ color: rgb(31, 138, 84);
/* oklch */ color: oklch(56.1% 0.126 155.7);
Tailwind
colors: {
  custom: {
    50: '#6cad84',
    500: '#1f8a54',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a54;
$custom-light: #6cad84;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a54",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 149.72,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56144,
    "c": 0.12578,
    "h": 155.7
  },
  "luminance": 0.19108
}

Semantic roles & 50–950 ramp

primary
#1F8A54
secondary
#BA4B83
accent
#4195E6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8A54

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

Preview Lab → · Contrast checker → · Palette generator →

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