#1F8B48#1F8B48

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

Color values

HEX#1F8B48
RGBrgb(31, 139, 72)
HSLhsl(143, 64%, 33%)
HSVhsv(143, 78%, 55%)
CMYKcmyk(77.7%, 0%, 48.2%, 45.5%)
CIE-LABlab(50.95, -45.15, 27.47)
CIE-LCHlch(50.95, 52.85, 148.69°)
OKLaboklab(56.19% -0.1214 0.0672)
OKLCHoklch(56.19% 0.139 151)
XYZxyz(10.9664, 19.2231, 9.2621)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B48 #8B1F62
analogous
#2C8B1F #1F8B48 #1F8B7E
triadic
#1F8B48 #481F8B #8B481F
tetradic
#1F8B48 #1F2C8B #8B1F62 #8B7E1F
square
#1F8B48 #1F2C8B #8B1F62 #8B7E1F
split-complementary
#1F8B48 #7E1F8B #8B1F2C
monochromatic
#092714 #14592E #1F8B48 #2ABD62 #4DD782

Accessibility & contrast

On white

4.33
#1F8B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B48#FFFFFF#000000##000000
##1F8B481.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F43
Deuteranopia (green-blind)
#7F764D
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b48;
/* rgb */ color: rgb(31, 139, 72);
/* oklch */ color: oklch(56.2% 0.139 151.0);
Tailwind
colors: {
  custom: {
    50: '#6dae7c',
    500: '#1f8b48',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b48;
$custom-light: #6dae7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b48",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 72
  },
  "hsl": {
    "h": 142.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56191,
    "c": 0.13874,
    "h": 151
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#1F8B48
secondary
#BA4C90
accent
#41A8E7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8B48

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

Preview Lab → · Contrast checker → · Palette generator →

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