#1F7025#1F7025

#1F7025 is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.134 H 144.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#1F7025
RGBrgb(31, 112, 37)
HSLhsl(124, 57%, 28%)
HSVhsv(124, 72%, 44%)
CMYKcmyk(72.3%, 0%, 67%, 56.1%)
CIE-LABlab(41.24, -40.24, 33.81)
CIE-LCHlch(41.24, 52.56, 139.96°)
OKLaboklab(48.01% -0.1089 0.0787)
OKLCHoklch(48.01% 0.134 144.2)
XYZxyz(6.6927, 12.0125, 3.7158)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F7025 #701F6A
analogous
#42701F #1F7025 #1F704D
triadic
#1F7025 #251F70 #70251F
tetradic
#1F7025 #1F4270 #701F6A #704D1F
square
#1F7025 #1F4270 #701F6A #704D1F
split-complementary
#1F7025 #4D1F70 #701F42
monochromatic
#071808 #124015 #1F7025 #2CA035 #3FCA4A

Accessibility & contrast

On white

6.17
#1F7025 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#1F7025 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F7025
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F7025#FFFFFF#000000##FFFFFF
##1F70251.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651C
Deuteranopia (green-blind)
#695F2C
Tritanopia (blue-blind)
#056D60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #1f7025;
/* rgb */ color: rgb(31, 112, 37);
/* oklch */ color: oklch(48.0% 0.134 144.2);
Tailwind
colors: {
  custom: {
    50: '#679a63',
    500: '#1f7025',
    950: '#000000',
  },
}
SCSS
$custom: #1f7025;
$custom-light: #679a63;
$custom-dark: #000000;
JSON
{
  "hex": "#1f7025",
  "rgb": {
    "r": 31,
    "g": 112,
    "b": 37
  },
  "hsl": {
    "h": 124.444,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.13438,
    "h": 144.2
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#1F7025
secondary
#A4479D
accent
#48D5E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #1F7025

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

Preview Lab → · Contrast checker → · Palette generator →

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