#1F8A3B#1F8A3B

#1F8A3B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.149 H 147.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#1F8A3B
RGBrgb(31, 138, 59)
HSLhsl(136, 63%, 33%)
HSVhsv(136, 78%, 54%)
CMYKcmyk(77.5%, 0%, 57.2%, 45.9%)
CIE-LABlab(50.43, -46.87, 33.62)
CIE-LCHlch(50.43, 57.68, 144.35°)
OKLaboklab(55.71% -0.1261 0.0802)
OKLCHoklch(55.71% 0.149 147.5)
XYZxyz(10.4422, 18.7828, 7.2119)
Luminance0.1878 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8A3B #8A1F6E
analogous
#388A1F #1F8A3B #1F8A70
triadic
#1F8A3B #3B1F8A #8A3B1F
tetradic
#1F8A3B #1F388A #8A1F6E #8A701F
square
#1F8A3B #1F388A #8A1F6E #8A701F
split-complementary
#1F8A3B #701F8A #8A1F38
monochromatic
#092610 #145826 #1F8A3B #2ABC50 #4CD771

Accessibility & contrast

On white

4.41
#1F8A3B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#1F8A3B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8A3B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8A3B#FFFFFF#000000##000000
##1F8A3B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D34
Deuteranopia (green-blind)
#7F7541
Tritanopia (blue-blind)
#008778
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8a3b;
/* rgb */ color: rgb(31, 138, 59);
/* oklch */ color: oklch(55.7% 0.149 147.5);
Tailwind
colors: {
  custom: {
    50: '#6dad73',
    500: '#1f8a3b',
    950: '#000000',
  },
}
SCSS
$custom: #1f8a3b;
$custom-light: #6dad73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8a3b",
  "rgb": {
    "r": 31,
    "g": 138,
    "b": 59
  },
  "hsl": {
    "h": 135.701,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.14946,
    "h": 147.5
  },
  "luminance": 0.18784
}

Semantic roles & 50–950 ramp

primary
#1F8A3B
secondary
#BA4B9D
accent
#41BBE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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