#1F8336#1F8336

#1F8336 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.7% C 0.145 H 146.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#1F8336
RGBrgb(31, 131, 54)
HSLhsl(134, 62%, 32%)
HSVhsv(134, 76%, 51%)
CMYKcmyk(76.3%, 0%, 58.8%, 48.6%)
CIE-LABlab(47.99, -45.05, 33.24)
CIE-LCHlch(47.99, 55.98, 143.58°)
OKLaboklab(53.67% -0.1213 0.079)
OKLCHoklch(53.67% 0.145 146.9)
XYZxyz(9.3465, 16.7892, 6.2374)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8336 #831F6C
analogous
#3A831F #1F8336 #1F8368
triadic
#1F8336 #361F83 #83361F
tetradic
#1F8336 #1F3A83 #831F6C #83681F
square
#1F8336 #1F3A83 #831F6C #83681F
split-complementary
#1F8336 #681F83 #831F3A
monochromatic
#08200D #135222 #1F8336 #2BB44A #49D469

Accessibility & contrast

On white

4.82
#1F8336 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#1F8336 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8336
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8336#FFFFFF#000000##FFFFFF
##1F83361.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772E
Deuteranopia (green-blind)
#796F3C
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8336;
/* rgb */ color: rgb(31, 131, 54);
/* oklch */ color: oklch(53.7% 0.145 146.9);
Tailwind
colors: {
  custom: {
    50: '#6ba86f',
    500: '#1f8336',
    950: '#000000',
  },
}
SCSS
$custom: #1f8336;
$custom-light: #6ba86f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8336",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 54
  },
  "hsl": {
    "h": 133.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53666,
    "c": 0.14477,
    "h": 146.9
  },
  "luminance": 0.1679
}

Semantic roles & 50–950 ramp

primary
#1F8336
secondary
#B6489D
accent
#43C0E5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8336

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

Preview Lab → · Contrast checker → · Palette generator →

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