#1F8750#1F8750

#1F8750 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.126 H 154.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#1F8750
RGBrgb(31, 135, 80)
HSLhsl(148, 63%, 33%)
HSVhsv(148, 77%, 53%)
CMYKcmyk(77%, 0%, 40.7%, 47.1%)
CIE-LABlab(49.73, -42.09, 21.51)
CIE-LCHlch(49.73, 47.27, 152.93°)
OKLaboklab(55.23% -0.1135 0.0536)
OKLCHoklch(55.23% 0.126 154.7)
XYZxyz(10.6760, 18.1972, 10.5376)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8750 #871F56
analogous
#22871F #1F8750 #1F8784
triadic
#1F8750 #501F87 #87501F
tetradic
#1F8750 #1F2287 #871F56 #87841F
square
#1F8750 #1F2287 #871F56 #87841F
split-complementary
#1F8750 #841F87 #871F22
monochromatic
#082315 #145533 #1F8750 #2AB96D #4BD68C

Accessibility & contrast

On white

4.53
#1F8750 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#1F8750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8750
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8750#FFFFFF#000000##000000
##1F87501.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4C
Deuteranopia (green-blind)
#7A7354
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8750;
/* rgb */ color: rgb(31, 135, 80);
/* oklch */ color: oklch(55.2% 0.126 154.7);
Tailwind
colors: {
  custom: {
    50: '#6cab81',
    500: '#1f8750',
    950: '#000000',
  },
}
SCSS
$custom: #1f8750;
$custom-light: #6cab81;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8750",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 80
  },
  "hsl": {
    "h": 148.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55232,
    "c": 0.12552,
    "h": 154.7
  },
  "luminance": 0.18198
}

Semantic roles & 50–950 ramp

primary
#1F8750
secondary
#B84A84
accent
#4299E6
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8750

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

Preview Lab → · Contrast checker → · Palette generator →

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