#1F8835#1F8835

#1F8835 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.1% C 0.152 H 146.3°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#1F8835
RGBrgb(31, 136, 53)
HSLhsl(133, 63%, 33%)
HSVhsv(133, 77%, 53%)
CMYKcmyk(77.2%, 0%, 61%, 46.7%)
CIE-LABlab(49.68, -46.99, 35.71)
CIE-LCHlch(49.68, 59.02, 142.77°)
OKLaboklab(55.06% -0.1266 0.0843)
OKLCHoklch(55.06% 0.152 146.3)
XYZxyz(10.0111, 18.1555, 6.3442)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8835 #881F72
analogous
#3E881F #1F8835 #1F8869
triadic
#1F8835 #351F88 #88351F
tetradic
#1F8835 #1F3E88 #881F72 #88691F
square
#1F8835 #1F3E88 #881F72 #88691F
split-complementary
#1F8835 #691F88 #881F3E
monochromatic
#08240E #145622 #1F8835 #2ABA48 #4BD668

Accessibility & contrast

On white

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

On black

4.63
#1F8835 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8835
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8835#FFFFFF#000000##000000
##1F88351.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B2C
Deuteranopia (green-blind)
#7E733C
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #1f8835;
/* rgb */ color: rgb(31, 136, 53);
/* oklch */ color: oklch(55.1% 0.152 146.3);
Tailwind
colors: {
  custom: {
    50: '#6dac6f',
    500: '#1f8835',
    950: '#000000',
  },
}
SCSS
$custom: #1f8835;
$custom-light: #6dac6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8835",
  "rgb": {
    "r": 31,
    "g": 136,
    "b": 53
  },
  "hsl": {
    "h": 132.571,
    "s": 62.874,
    "l": 32.745
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.1521,
    "h": 146.3
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#1F8835
secondary
#B94AA2
accent
#42C4E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8835

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

Preview Lab → · Contrast checker → · Palette generator →

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