#1F8652#1F8652

#1F8652 is a mid, vivid green. Relative luminance 0.180; OKLCH L 55.0% C 0.122 H 155.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8652
RGBrgb(31, 134, 82)
HSLhsl(150, 62%, 32%)
HSVhsv(150, 77%, 53%)
CMYKcmyk(76.9%, 0%, 38.8%, 47.5%)
CIE-LABlab(49.43, -41.28, 19.99)
CIE-LCHlch(49.43, 45.87, 154.16°)
OKLaboklab(55% -0.1115 0.05)
OKLCHoklch(55% 0.122 155.8)
XYZxyz(10.6121, 17.9494, 10.8863)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8652 #861F53
analogous
#1F861F #1F8652 #1F8686
triadic
#1F8652 #521F86 #86521F
tetradic
#1F8652 #1F1F86 #861F53 #86861F
square
#1F8652 #1F1F86 #861F53 #86861F
split-complementary
#1F8652 #861F86 #861F1F
monochromatic
#082315 #145434 #1F8652 #2AB870 #4AD58F

Accessibility & contrast

On white

4.57
#1F8652 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#1F8652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8652
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8652#FFFFFF#000000##000000
##1F86521.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#857B4F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#008579
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8652;
/* rgb */ color: rgb(31, 134, 82);
/* oklch */ color: oklch(55.0% 0.122 155.8);
Tailwind
colors: {
  custom: {
    50: '#6baa83',
    500: '#1f8652',
    950: '#000000',
  },
}
SCSS
$custom: #1f8652;
$custom-light: #6baa83;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8652",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 82
  },
  "hsl": {
    "h": 149.709,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54996,
    "c": 0.12219,
    "h": 155.8
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#1F8652
secondary
#B84981
accent
#4295E5
background
#F6FAF8
surface
#ECF4EF
border
#C7CECA
text
#08100A
muted
#7A7F7C

Preview Lab

Preview with #1F8652

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

Preview Lab → · Contrast checker → · Palette generator →

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