#1F8629#1F8629

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

Color values

HEX#1F8629
RGBrgb(31, 134, 41)
HSLhsl(126, 62%, 32%)
HSVhsv(126, 77%, 53%)
CMYKcmyk(76.9%, 0%, 69.4%, 47.5%)
CIE-LABlab(48.88, -47.72, 40.37)
CIE-LCHlch(48.88, 62.50, 139.77°)
OKLaboklab(54.36% -0.129 0.093)
OKLCHoklch(54.36% 0.159 144.2)
XYZxyz(9.4898, 17.5005, 4.9752)
Luminance0.1750 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8629 #861F7C
analogous
#49861F #1F8629 #1F865C
triadic
#1F8629 #291F86 #86291F
tetradic
#1F8629 #1F4986 #861F7C #865C1F
square
#1F8629 #1F4986 #861F7C #865C1F
split-complementary
#1F8629 #5C1F86 #861F49
monochromatic
#08230B #14541A #1F8629 #2AB838 #4AD558

Accessibility & contrast

On white

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

On black

4.50
#1F8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1F8629#FFFFFF#000000##FFFFFF
##1F86291.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89791C
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #1f8629;
/* rgb */ color: rgb(31, 134, 41);
/* oklch */ color: oklch(54.4% 0.159 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daa68',
    500: '#1f8629',
    950: '#000000',
  },
}
SCSS
$custom: #1f8629;
$custom-light: #6daa68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8629",
  "rgb": {
    "r": 31,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 125.825,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54362,
    "c": 0.15907,
    "h": 144.2
  },
  "luminance": 0.17502
}

Semantic roles & 50–950 ramp

primary
#1F8629
secondary
#B849AD
accent
#42D6E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8629

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

Preview Lab → · Contrast checker → · Palette generator →

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