#1F8536#1F8536

#1F8536 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.2% C 0.147 H 146.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F8536
RGBrgb(31, 133, 54)
HSLhsl(134, 62%, 32%)
HSVhsv(134, 77%, 52%)
CMYKcmyk(76.7%, 0%, 59.4%, 47.8%)
CIE-LABlab(48.68, -45.78, 34.04)
CIE-LCHlch(48.68, 57.05, 143.37°)
OKLaboklab(54.23% -0.1233 0.0808)
OKLCHoklch(54.23% 0.147 146.8)
XYZxyz(9.6177, 17.3316, 6.3278)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8536 #851F6E
analogous
#3B851F #1F8536 #1F8569
triadic
#1F8536 #361F85 #85361F
tetradic
#1F8536 #1F3B85 #851F6E #85691F
square
#1F8536 #1F3B85 #851F6E #85691F
split-complementary
#1F8536 #691F85 #851F3B
monochromatic
#08220E #135322 #1F8536 #2BB74A #4AD569

Accessibility & contrast

On white

4.70
#1F8536 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#1F8536 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8536
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8536#FFFFFF#000000##FFFFFF
##1F85361.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87792E
Deuteranopia (green-blind)
#7B703C
Tritanopia (blue-blind)
#008274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8536;
/* rgb */ color: rgb(31, 133, 54);
/* oklch */ color: oklch(54.2% 0.147 146.8);
Tailwind
colors: {
  custom: {
    50: '#6ca96f',
    500: '#1f8536',
    950: '#000000',
  },
}
SCSS
$custom: #1f8536;
$custom-light: #6ca96f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8536",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 54
  },
  "hsl": {
    "h": 133.529,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.14738,
    "h": 146.8
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#1F8536
secondary
#B7499E
accent
#43C1E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8536

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

Preview Lab → · Contrast checker → · Palette generator →

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