#1F8236#1F8236

#1F8236 is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.4% C 0.143 H 147.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#1F8236
RGBrgb(31, 130, 54)
HSLhsl(134, 61%, 32%)
HSVhsv(134, 76%, 51%)
CMYKcmyk(76.2%, 0%, 58.5%, 49%)
CIE-LABlab(47.65, -44.68, 32.83)
CIE-LCHlch(47.65, 55.45, 143.69°)
OKLaboklab(53.38% -0.1203 0.0781)
OKLCHoklch(53.38% 0.143 147)
XYZxyz(9.2129, 16.5219, 6.1928)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8236 #821F6B
analogous
#3A821F #1F8236 #1F8268
triadic
#1F8236 #361F82 #82361F
tetradic
#1F8236 #1F3A82 #821F6B #82681F
square
#1F8236 #1F3A82 #821F6B #82681F
split-complementary
#1F8236 #681F82 #821F3A
monochromatic
#071F0D #135121 #1F8236 #2BB34B #48D368

Accessibility & contrast

On white

4.88
#1F8236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#1F8236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8236
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8236#FFFFFF#000000##FFFFFF
##1F82361.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84762F
Deuteranopia (green-blind)
#786E3C
Tritanopia (blue-blind)
#007F71
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #1f8236;
/* rgb */ color: rgb(31, 130, 54);
/* oklch */ color: oklch(53.4% 0.143 147.0);
Tailwind
colors: {
  custom: {
    50: '#6ba76f',
    500: '#1f8236',
    950: '#000000',
  },
}
SCSS
$custom: #1f8236;
$custom-light: #6ba76f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8236",
  "rgb": {
    "r": 31,
    "g": 130,
    "b": 54
  },
  "hsl": {
    "h": 133.939,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.14346,
    "h": 147
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#1F8236
secondary
#B5489C
accent
#43BFE5
background
#F6FAF6
surface
#ECF4EC
border
#C7CEC7
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #1F8236

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

Preview Lab → · Contrast checker → · Palette generator →

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