#1F8B3B#1F8B3B

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

Color values

HEX#1F8B3B
RGBrgb(31, 139, 59)
HSLhsl(136, 64%, 33%)
HSVhsv(136, 78%, 55%)
CMYKcmyk(77.7%, 0%, 57.6%, 45.5%)
CIE-LABlab(50.77, -47.23, 34.02)
CIE-LCHlch(50.77, 58.21, 144.24°)
OKLaboklab(55.99% -0.1271 0.0811)
OKLCHoklch(55.99% 0.151 147.4)
XYZxyz(10.5863, 19.0711, 7.2600)
Luminance0.1907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B3B #8B1F6F
analogous
#398B1F #1F8B3B #1F8B71
triadic
#1F8B3B #3B1F8B #8B3B1F
tetradic
#1F8B3B #1F398B #8B1F6F #8B711F
square
#1F8B3B #1F398B #8B1F6F #8B711F
split-complementary
#1F8B3B #711F8B #8B1F39
monochromatic
#092711 #145926 #1F8B3B #2ABD50 #4DD771

Accessibility & contrast

On white

4.36
#1F8B3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#1F8B3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B3B
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B3B#FFFFFF#000000##000000
##1F8B3B1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E33
Deuteranopia (green-blind)
#807641
Tritanopia (blue-blind)
#008879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #1f8b3b;
/* rgb */ color: rgb(31, 139, 59);
/* oklch */ color: oklch(56.0% 0.151 147.4);
Tailwind
colors: {
  custom: {
    50: '#6dae73',
    500: '#1f8b3b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b3b;
$custom-light: #6dae73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b3b",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 59
  },
  "hsl": {
    "h": 135.556,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55986,
    "c": 0.15076,
    "h": 147.4
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#1F8B3B
secondary
#BA4C9D
accent
#41BCE7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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