#1F8535#1F8535

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

Color values

HEX#1F8535
RGBrgb(31, 133, 53)
HSLhsl(133, 62%, 32%)
HSVhsv(133, 77%, 52%)
CMYKcmyk(76.7%, 0%, 60.2%, 47.8%)
CIE-LABlab(48.66, -45.91, 34.52)
CIE-LCHlch(48.66, 57.45, 143.06°)
OKLaboklab(54.22% -0.1237 0.0818)
OKLCHoklch(54.22% 0.148 146.5)
XYZxyz(9.5945, 17.3223, 6.2054)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8535 #851F6F
analogous
#3C851F #1F8535 #1F8568
triadic
#1F8535 #351F85 #85351F
tetradic
#1F8535 #1F3C85 #851F6F #85681F
square
#1F8535 #1F3C85 #851F6F #85681F
split-complementary
#1F8535 #681F85 #851F3C
monochromatic
#08220D #135321 #1F8535 #2BB749 #4AD568

Accessibility & contrast

On white

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

On black

4.46
#1F8535 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8535#FFFFFF#000000##FFFFFF
##1F85351.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8535;
/* rgb */ color: rgb(31, 133, 53);
/* oklch */ color: oklch(54.2% 0.148 146.5);
Tailwind
colors: {
  custom: {
    50: '#6ca96f',
    500: '#1f8535',
    950: '#000000',
  },
}
SCSS
$custom: #1f8535;
$custom-light: #6ca96f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8535",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 53
  },
  "hsl": {
    "h": 132.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54218,
    "c": 0.14825,
    "h": 146.5
  },
  "luminance": 0.17323
}

Semantic roles & 50–950 ramp

primary
#1F8535
secondary
#B7499F
accent
#43C2E5
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8535

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

Preview Lab → · Contrast checker → · Palette generator →

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