#1F8B54#1F8B54

#1F8B54 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.127 H 155.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8B54
RGBrgb(31, 139, 84)
HSLhsl(149, 64%, 33%)
HSVhsv(149, 78%, 55%)
CMYKcmyk(77.7%, 0%, 39.6%, 45.5%)
CIE-LABlab(51.15, -42.87, 21.15)
CIE-LCHlch(51.15, 47.80, 153.74°)
OKLaboklab(56.42% -0.1156 0.0528)
OKLCHoklch(56.42% 0.127 155.4)
XYZxyz(11.3968, 19.3953, 11.5288)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B54 #8B1F56
analogous
#208B1F #1F8B54 #1F8B8A
triadic
#1F8B54 #541F8B #8B541F
tetradic
#1F8B54 #1F208B #8B1F56 #8B8A1F
square
#1F8B54 #1F208B #8B1F56 #8B8A1F
split-complementary
#1F8B54 #8A1F8B #8B1F20
monochromatic
#092718 #145936 #1F8B54 #2ABD72 #4DD791

Accessibility & contrast

On white

4.30
#1F8B54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#1F8B54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B54
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B54#FFFFFF#000000##000000
##1F8B541.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7658
Tritanopia (blue-blind)
#008A7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8b54;
/* rgb */ color: rgb(31, 139, 84);
/* oklch */ color: oklch(56.4% 0.127 155.4);
Tailwind
colors: {
  custom: {
    50: '#6dae84',
    500: '#1f8b54',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b54;
$custom-light: #6dae84;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b54",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 84
  },
  "hsl": {
    "h": 149.444,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5642,
    "c": 0.12715,
    "h": 155.4
  },
  "luminance": 0.19397
}

Semantic roles & 50–950 ramp

primary
#1F8B54
secondary
#BA4C84
accent
#4195E7
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #1F8B54

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

Preview Lab → · Contrast checker → · Palette generator →

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