#1F8B46#1F8B46

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

Color values

HEX#1F8B46
RGBrgb(31, 139, 70)
HSLhsl(142, 64%, 33%)
HSVhsv(142, 78%, 55%)
CMYKcmyk(77.7%, 0%, 49.6%, 45.5%)
CIE-LABlab(50.92, -45.50, 28.50)
CIE-LCHlch(50.92, 53.69, 147.94°)
OKLaboklab(56.16% -0.1223 0.0695)
OKLCHoklch(56.16% 0.141 150.4)
XYZxyz(10.9023, 19.1975, 8.9241)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B46 #8B1F64
analogous
#2E8B1F #1F8B46 #1F8B7C
triadic
#1F8B46 #461F8B #8B461F
tetradic
#1F8B46 #1F2E8B #8B1F64 #8B7C1F
square
#1F8B46 #1F2E8B #8B1F64 #8B7C1F
split-complementary
#1F8B46 #7C1F8B #8B1F2E
monochromatic
#092714 #14592D #1F8B46 #2ABD5F #4DD77F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B46#FFFFFF#000000##000000
##1F8B461.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)
#8C7F40
Deuteranopia (green-blind)
#7F764B
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b46;
/* rgb */ color: rgb(31, 139, 70);
/* oklch */ color: oklch(56.2% 0.141 150.4);
Tailwind
colors: {
  custom: {
    50: '#6dae7b',
    500: '#1f8b46',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b46;
$custom-light: #6dae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b46",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 70
  },
  "hsl": {
    "h": 141.667,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.14064,
    "h": 150.4
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#1F8B46
secondary
#BA4C92
accent
#41ABE7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #1F8B46

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

Preview Lab → · Contrast checker → · Palette generator →

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