#1F8025#1F8025

#1F8025 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.6% C 0.155 H 143.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#1F8025
RGBrgb(31, 128, 37)
HSLhsl(124, 61%, 31%)
HSVhsv(124, 76%, 50%)
CMYKcmyk(75.8%, 0%, 71.1%, 49.8%)
CIE-LABlab(46.79, -46.04, 39.85)
CIE-LCHlch(46.79, 60.89, 139.12°)
OKLaboklab(52.62% -0.1247 0.0914)
OKLCHoklch(52.62% 0.155 143.7)
XYZxyz(8.6176, 15.8622, 4.3575)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8025 #801F7A
analogous
#49801F #1F8025 #1F8055
triadic
#1F8025 #251F80 #80251F
tetradic
#1F8025 #1F4980 #801F7A #80551F
square
#1F8025 #1F4980 #801F7A #80551F
split-complementary
#1F8025 #551F80 #801F49
monochromatic
#071D09 #134F17 #1F8025 #2BB133 #47D250

Accessibility & contrast

On white

5.03
#1F8025 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#1F8025 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F8025
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8025#FFFFFF#000000##FFFFFF
##1F80251.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#786C2E
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #1f8025;
/* rgb */ color: rgb(31, 128, 37);
/* oklch */ color: oklch(52.6% 0.155 143.7);
Tailwind
colors: {
  custom: {
    50: '#6ba665',
    500: '#1f8025',
    950: '#000000',
  },
}
SCSS
$custom: #1f8025;
$custom-light: #6ba665;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8025",
  "rgb": {
    "r": 31,
    "g": 128,
    "b": 37
  },
  "hsl": {
    "h": 123.711,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52615,
    "c": 0.15462,
    "h": 143.7
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#1F8025
secondary
#B348AC
accent
#44DAE4
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #1F8025

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

Preview Lab → · Contrast checker → · Palette generator →

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