#1F8B45#1F8B45

#1F8B45 is a mid, vivid green. Relative luminance 0.192; OKLCH L 56.1% C 0.142 H 150.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#1F8B45
RGBrgb(31, 139, 69)
HSLhsl(141, 64%, 33%)
HSVhsv(141, 78%, 55%)
CMYKcmyk(77.7%, 0%, 50.4%, 45.5%)
CIE-LABlab(50.90, -45.67, 29.01)
CIE-LCHlch(50.90, 54.10, 147.57°)
OKLaboklab(56.14% -0.1227 0.0706)
OKLCHoklch(56.14% 0.142 150.1)
XYZxyz(10.8710, 19.1849, 8.7592)
Luminance0.1919 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B45 #8B1F65
analogous
#2F8B1F #1F8B45 #1F8B7B
triadic
#1F8B45 #451F8B #8B451F
tetradic
#1F8B45 #1F2F8B #8B1F65 #8B7B1F
square
#1F8B45 #1F2F8B #8B1F65 #8B7B1F
split-complementary
#1F8B45 #7B1F8B #8B1F2F
monochromatic
#092713 #14592C #1F8B45 #2ABD5E #4DD77E

Accessibility & contrast

On white

4.34
#1F8B45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#1F8B45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B45
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B45#FFFFFF#000000##000000
##1F8B451.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F3F
Deuteranopia (green-blind)
#7F764A
Tritanopia (blue-blind)
#00887B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b45;
/* rgb */ color: rgb(31, 139, 69);
/* oklch */ color: oklch(56.1% 0.142 150.1);
Tailwind
colors: {
  custom: {
    50: '#6dae7a',
    500: '#1f8b45',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b45;
$custom-light: #6dae7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b45",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 69
  },
  "hsl": {
    "h": 141.111,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.14159,
    "h": 150.1
  },
  "luminance": 0.19186
}

Semantic roles & 50–950 ramp

primary
#1F8B45
secondary
#BA4C93
accent
#41ACE7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8B45

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

Preview Lab → · Contrast checker → · Palette generator →

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