#1F8733#1F8733

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

Color values

HEX#1F8733
RGBrgb(31, 135, 51)
HSLhsl(132, 63%, 33%)
HSVhsv(132, 77%, 53%)
CMYKcmyk(77%, 0%, 62.2%, 47.1%)
CIE-LABlab(49.32, -46.90, 36.26)
CIE-LCHlch(49.32, 59.28, 142.29°)
OKLaboklab(54.76% -0.1264 0.0853)
OKLCHoklch(54.76% 0.153 146)
XYZxyz(9.8259, 17.8571, 6.0602)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8733 #871F73
analogous
#3F871F #1F8733 #1F8767
triadic
#1F8733 #331F87 #87331F
tetradic
#1F8733 #1F3F87 #871F73 #87671F
square
#1F8733 #1F3F87 #871F73 #87671F
split-complementary
#1F8733 #671F87 #871F3F
monochromatic
#08230D #145520 #1F8733 #2AB946 #4BD665

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8733#FFFFFF#000000##FFFFFF
##1F87331.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)
#897A2A
Deuteranopia (green-blind)
#7D723A
Tritanopia (blue-blind)
#008475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8733;
/* rgb */ color: rgb(31, 135, 51);
/* oklch */ color: oklch(54.8% 0.153 146.0);
Tailwind
colors: {
  custom: {
    50: '#6dab6e',
    500: '#1f8733',
    950: '#000000',
  },
}
SCSS
$custom: #1f8733;
$custom-light: #6dab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8733",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 51
  },
  "hsl": {
    "h": 131.538,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54757,
    "c": 0.15251,
    "h": 146
  },
  "luminance": 0.17858
}

Semantic roles & 50–950 ramp

primary
#1F8733
secondary
#B84AA3
accent
#42C6E6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F8733

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

Preview Lab → · Contrast checker → · Palette generator →

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