#1F8624#1F8624

#1F8624 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.3% C 0.163 H 143.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F8624
RGBrgb(31, 134, 36)
HSLhsl(123, 62%, 32%)
HSVhsv(123, 77%, 53%)
CMYKcmyk(76.9%, 0%, 73.1%, 47.5%)
CIE-LABlab(48.84, -48.21, 42.42)
CIE-LCHlch(48.84, 64.22, 138.65°)
OKLaboklab(54.32% -0.1306 0.0967)
OKLCHoklch(54.32% 0.163 143.5)
XYZxyz(9.4080, 17.4678, 4.5445)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8624 #861F81
analogous
#4D861F #1F8624 #1F8658
triadic
#1F8624 #241F86 #86241F
tetradic
#1F8624 #1F4D86 #861F81 #86581F
square
#1F8624 #1F4D86 #861F81 #86581F
split-complementary
#1F8624 #581F86 #861F4D
monochromatic
#082309 #145417 #1F8624 #2AB831 #4AD551

Accessibility & contrast

On white

4.67
#1F8624 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#1F8624 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8624
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8624#FFFFFF#000000##FFFFFF
##1F86241.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897914
Deuteranopia (green-blind)
#7D712E
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8624;
/* rgb */ color: rgb(31, 134, 36);
/* oklch */ color: oklch(54.3% 0.163 143.5);
Tailwind
colors: {
  custom: {
    50: '#6daa65',
    500: '#1f8624',
    950: '#000000',
  },
}
SCSS
$custom: #1f8624;
$custom-light: #6daa65;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8624",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 122.913,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54316,
    "c": 0.16253,
    "h": 143.5
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#1F8624
secondary
#B849B2
accent
#42DEE5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8624

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

Preview Lab → · Contrast checker → · Palette generator →

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