#1F8735#1F8735

#1F8735 is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.151 H 146.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#1F8735
RGBrgb(31, 135, 53)
HSLhsl(133, 63%, 33%)
HSVhsv(133, 77%, 53%)
CMYKcmyk(77%, 0%, 60.7%, 47.1%)
CIE-LABlab(49.34, -46.63, 35.32)
CIE-LCHlch(49.34, 58.50, 142.86°)
OKLaboklab(54.78% -0.1256 0.0835)
OKLCHoklch(54.78% 0.151 146.4)
XYZxyz(9.8709, 17.8751, 6.2975)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8735 #871F71
analogous
#3D871F #1F8735 #1F8769
triadic
#1F8735 #351F87 #87351F
tetradic
#1F8735 #1F3D87 #871F71 #87691F
square
#1F8735 #1F3D87 #871F71 #87691F
split-complementary
#1F8735 #691F87 #871F3D
monochromatic
#08230E #145521 #1F8735 #2AB949 #4BD668

Accessibility & contrast

On white

4.59
#1F8735 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#1F8735 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8735
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8735#FFFFFF#000000##FFFFFF
##1F87351.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A2D
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8735;
/* rgb */ color: rgb(31, 135, 53);
/* oklch */ color: oklch(54.8% 0.151 146.4);
Tailwind
colors: {
  custom: {
    50: '#6cab6f',
    500: '#1f8735',
    950: '#000000',
  },
}
SCSS
$custom: #1f8735;
$custom-light: #6cab6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8735",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 53
  },
  "hsl": {
    "h": 132.692,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54782,
    "c": 0.15082,
    "h": 146.4
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#1F8735
secondary
#B84AA1
accent
#42C3E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8735

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

Preview Lab → · Contrast checker → · Palette generator →

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