#1F8B3F#1F8B3F

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

Color values

HEX#1F8B3F
RGBrgb(31, 139, 63)
HSLhsl(138, 64%, 33%)
HSVhsv(138, 78%, 55%)
CMYKcmyk(77.7%, 0%, 54.7%, 45.5%)
CIE-LABlab(50.82, -46.64, 32.05)
CIE-LCHlch(50.82, 56.59, 145.51°)
OKLaboklab(56.04% -0.1254 0.077)
OKLCHoklch(56.04% 0.147 148.4)
XYZxyz(10.6940, 19.1142, 7.8275)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B3F #8B1F6B
analogous
#358B1F #1F8B3F #1F8B75
triadic
#1F8B3F #3F1F8B #8B3F1F
tetradic
#1F8B3F #1F358B #8B1F6B #8B751F
square
#1F8B3F #1F358B #8B1F6B #8B751F
split-complementary
#1F8B3F #751F8B #8B1F35
monochromatic
#092712 #145928 #1F8B3F #2ABD56 #4DD776

Accessibility & contrast

On white

4.35
#1F8B3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8B3F#FFFFFF#000000##000000
##1F8B3F1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7E38
Deuteranopia (green-blind)
#807645
Tritanopia (blue-blind)
#00887A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b3f;
/* rgb */ color: rgb(31, 139, 63);
/* oklch */ color: oklch(56.0% 0.147 148.4);
Tailwind
colors: {
  custom: {
    50: '#6dae76',
    500: '#1f8b3f',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b3f;
$custom-light: #6dae76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b3f",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 137.778,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56044,
    "c": 0.14716,
    "h": 148.4
  },
  "luminance": 0.19115
}

Semantic roles & 50–950 ramp

primary
#1F8B3F
secondary
#BA4C99
accent
#41B6E7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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