#1F8734#1F8734

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

Color values

HEX#1F8734
RGBrgb(31, 135, 52)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 77%, 53%)
CMYKcmyk(77%, 0%, 61.5%, 47.1%)
CIE-LABlab(49.33, -46.77, 35.79)
CIE-LCHlch(49.33, 58.89, 142.57°)
OKLaboklab(54.77% -0.126 0.0844)
OKLCHoklch(54.77% 0.152 146.2)
XYZxyz(9.8482, 17.8660, 6.1776)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8734 #871F72
analogous
#3E871F #1F8734 #1F8768
triadic
#1F8734 #341F87 #87341F
tetradic
#1F8734 #1F3E87 #871F72 #87681F
square
#1F8734 #1F3E87 #871F72 #87681F
split-complementary
#1F8734 #681F87 #871F3E
monochromatic
#08230E #145521 #1F8734 #2AB947 #4BD667

Accessibility & contrast

On white

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

On black

4.57
#1F8734 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8734#FFFFFF#000000##FFFFFF
##1F87341.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f8734;
/* rgb */ color: rgb(31, 135, 52);
/* oklch */ color: oklch(54.8% 0.152 146.2);
Tailwind
colors: {
  custom: {
    50: '#6cab6e',
    500: '#1f8734',
    950: '#000000',
  },
}
SCSS
$custom: #1f8734;
$custom-light: #6cab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8734",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 52
  },
  "hsl": {
    "h": 132.115,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.15167,
    "h": 146.2
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#1F8734
secondary
#B84AA2
accent
#42C5E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8734

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

Preview Lab → · Contrast checker → · Palette generator →

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