#1F8723#1F8723

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

Color values

HEX#1F8723
RGBrgb(31, 135, 35)
HSLhsl(122, 63%, 33%)
HSVhsv(122, 77%, 53%)
CMYKcmyk(77%, 0%, 74.1%, 47.1%)
CIE-LABlab(49.18, -48.64, 43.17)
CIE-LCHlch(49.18, 65.04, 138.41°)
OKLaboklab(54.59% -0.1318 0.0981)
OKLCHoklch(54.59% 0.164 143.3)
XYZxyz(9.5318, 17.7395, 4.5115)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8723 #871F83
analogous
#4F871F #1F8723 #1F8757
triadic
#1F8723 #231F87 #87231F
tetradic
#1F8723 #1F4F87 #871F83 #87571F
square
#1F8723 #1F4F87 #871F83 #87571F
split-complementary
#1F8723 #571F87 #871F4F
monochromatic
#082309 #145516 #1F8723 #2AB930 #4BD650

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F8723#FFFFFF#000000##FFFFFF
##1F87231.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)
#8A7A12
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #1f8723;
/* rgb */ color: rgb(31, 135, 35);
/* oklch */ color: oklch(54.6% 0.164 143.3);
Tailwind
colors: {
  custom: {
    50: '#6dab64',
    500: '#1f8723',
    950: '#000000',
  },
}
SCSS
$custom: #1f8723;
$custom-light: #6dab64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8723",
  "rgb": {
    "r": 31,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 122.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54591,
    "c": 0.16435,
    "h": 143.3
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#1F8723
secondary
#B84AB4
accent
#42DFE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8723

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

Preview Lab → · Contrast checker → · Palette generator →

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