#1F8337#1F8337

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

Color values

HEX#1F8337
RGBrgb(31, 131, 55)
HSLhsl(134, 62%, 32%)
HSVhsv(134, 76%, 51%)
CMYKcmyk(76.3%, 0%, 58%, 48.6%)
CIE-LABlab(48.01, -44.91, 32.74)
CIE-LCHlch(48.01, 55.58, 143.90°)
OKLaboklab(53.68% -0.1209 0.078)
OKLCHoklch(53.68% 0.144 147.2)
XYZxyz(9.3703, 16.7987, 6.3623)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8337 #831F6B
analogous
#39831F #1F8337 #1F8369
triadic
#1F8337 #371F83 #83371F
tetradic
#1F8337 #1F3983 #831F6B #83691F
square
#1F8337 #1F3983 #831F6B #83691F
split-complementary
#1F8337 #691F83 #831F39
monochromatic
#08200D #135222 #1F8337 #2BB44C #49D46A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8337#FFFFFF#000000##FFFFFF
##1F83371.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)
#857730
Deuteranopia (green-blind)
#796F3D
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #1f8337;
/* rgb */ color: rgb(31, 131, 55);
/* oklch */ color: oklch(53.7% 0.144 147.2);
Tailwind
colors: {
  custom: {
    50: '#6ba870',
    500: '#1f8337',
    950: '#000000',
  },
}
SCSS
$custom: #1f8337;
$custom-light: #6ba870;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8337",
  "rgb": {
    "r": 31,
    "g": 131,
    "b": 55
  },
  "hsl": {
    "h": 134.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.14389,
    "h": 147.2
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#1F8337
secondary
#B6489B
accent
#43BEE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8337

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

Preview Lab → · Contrast checker → · Palette generator →

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