#1F8724#1F8724

#1F8724 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.164 H 143.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#1F8724
RGBrgb(31, 135, 36)
HSLhsl(123, 63%, 33%)
HSVhsv(123, 77%, 53%)
CMYKcmyk(77%, 0%, 73.3%, 47.1%)
CIE-LABlab(49.19, -48.55, 42.78)
CIE-LCHlch(49.19, 64.71, 138.62°)
OKLaboklab(54.6% -0.1315 0.0974)
OKLCHoklch(54.6% 0.164 143.5)
XYZxyz(9.5469, 17.7455, 4.5908)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8724 #871F82
analogous
#4E871F #1F8724 #1F8758
triadic
#1F8724 #241F87 #87241F
tetradic
#1F8724 #1F4E87 #871F82 #87581F
square
#1F8724 #1F4E87 #871F82 #87581F
split-complementary
#1F8724 #581F87 #871F4E
monochromatic
#082309 #145517 #1F8724 #2AB931 #4BD651

Accessibility & contrast

On white

4.62
#1F8724 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#1F8724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8724
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8724#FFFFFF#000000##FFFFFF
##1F87241.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A14
Deuteranopia (green-blind)
#7E722E
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8724;
/* rgb */ color: rgb(31, 135, 36);
/* oklch */ color: oklch(54.6% 0.164 143.5);
Tailwind
colors: {
  custom: {
    50: '#6dab65',
    500: '#1f8724',
    950: '#000000',
  },
}
SCSS
$custom: #1f8724;
$custom-light: #6dab65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8724",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 122.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.546,
    "c": 0.16371,
    "h": 143.5
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#1F8724
secondary
#B84AB3
accent
#42DEE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8724

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

Preview Lab → · Contrast checker → · Palette generator →

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