#1F8738#1F8738

#1F8738 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.148 H 147.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#1F8738
RGBrgb(31, 135, 56)
HSLhsl(134, 63%, 33%)
HSVhsv(134, 77%, 53%)
CMYKcmyk(77%, 0%, 58.5%, 47.1%)
CIE-LABlab(49.38, -46.22, 33.87)
CIE-LCHlch(49.38, 57.30, 143.76°)
OKLaboklab(54.82% -0.1244 0.0806)
OKLCHoklch(54.82% 0.148 147.1)
XYZxyz(9.9421, 17.9036, 6.6724)
Luminance0.1790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8738 #871F6E
analogous
#3A871F #1F8738 #1F876C
triadic
#1F8738 #381F87 #87381F
tetradic
#1F8738 #1F3A87 #871F6E #876C1F
square
#1F8738 #1F3A87 #871F6E #876C1F
split-complementary
#1F8738 #6C1F87 #871F3A
monochromatic
#08230F #145523 #1F8738 #2AB94D #4BD66C

Accessibility & contrast

On white

4.58
#1F8738 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F8738 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8738
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8738#FFFFFF#000000##000000
##1F87381.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A30
Deuteranopia (green-blind)
#7D723E
Tritanopia (blue-blind)
#008476
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8738;
/* rgb */ color: rgb(31, 135, 56);
/* oklch */ color: oklch(54.8% 0.148 147.1);
Tailwind
colors: {
  custom: {
    50: '#6cab71',
    500: '#1f8738',
    950: '#000000',
  },
}
SCSS
$custom: #1f8738;
$custom-light: #6cab71;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8738",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 56
  },
  "hsl": {
    "h": 134.423,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.14822,
    "h": 147.1
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#1F8738
secondary
#B84A9E
accent
#42BEE6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F8738

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

Preview Lab → · Contrast checker → · Palette generator →

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