#1F8529#1F8529

#1F8529 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.1% C 0.158 H 144.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#1F8529
RGBrgb(31, 133, 41)
HSLhsl(126, 62%, 32%)
HSVhsv(126, 77%, 52%)
CMYKcmyk(76.7%, 0%, 69.2%, 47.8%)
CIE-LABlab(48.54, -47.37, 40.00)
CIE-LCHlch(48.54, 62.00, 139.82°)
OKLaboklab(54.08% -0.1281 0.0922)
OKLCHoklch(54.08% 0.158 144.2)
XYZxyz(9.3522, 17.2254, 4.9293)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8529 #851F7B
analogous
#48851F #1F8529 #1F855C
triadic
#1F8529 #291F85 #85291F
tetradic
#1F8529 #1F4885 #851F7B #855C1F
square
#1F8529 #1F4885 #851F7B #855C1F
split-complementary
#1F8529 #5C1F85 #851F48
monochromatic
#08220A #13531A #1F8529 #2BB738 #4AD557

Accessibility & contrast

On white

4.72
#1F8529 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#1F8529 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8529
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8529#FFFFFF#000000##FFFFFF
##1F85291.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88781D
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1f8529;
/* rgb */ color: rgb(31, 133, 41);
/* oklch */ color: oklch(54.1% 0.158 144.2);
Tailwind
colors: {
  custom: {
    50: '#6daa67',
    500: '#1f8529',
    950: '#000000',
  },
}
SCSS
$custom: #1f8529;
$custom-light: #6daa67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8529",
  "rgb": {
    "r": 31,
    "g": 133,
    "b": 41
  },
  "hsl": {
    "h": 125.882,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.15785,
    "h": 144.2
  },
  "luminance": 0.17226
}

Semantic roles & 50–950 ramp

primary
#1F8529
secondary
#B749AC
accent
#43D5E5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8529

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

Preview Lab → · Contrast checker → · Palette generator →

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