#1F9725#1F9725

#1F9725 is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.182 H 143.4°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#1F9725
RGBrgb(31, 151, 37)
HSLhsl(123, 66%, 36%)
HSVhsv(123, 79%, 59%)
CMYKcmyk(79.5%, 0%, 75.5%, 40.8%)
CIE-LABlab(54.61, -53.78, 47.93)
CIE-LCHlch(54.61, 72.04, 138.29°)
OKLaboklab(59.11% -0.1457 0.1083)
OKLCHoklch(59.11% 0.182 143.4)
XYZxyz(11.9648, 22.5567, 5.4732)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9725 #971F91
analogous
#55971F #1F9725 #1F9761
triadic
#1F9725 #251F97 #97251F
tetradic
#1F9725 #1F5597 #971F91 #97611F
square
#1F9725 #1F5597 #971F91 #97611F
split-complementary
#1F9725 #611F97 #971F55
monochromatic
#0A310C #156419 #1F9725 #29CA31 #54DC5B

Accessibility & contrast

On white

3.81
#1F9725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#1F9725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9725
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9725#FFFFFF#000000##000000
##1F97251.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#8D7F31
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9725;
/* rgb */ color: rgb(31, 151, 37);
/* oklch */ color: oklch(59.1% 0.182 143.4);
Tailwind
colors: {
  custom: {
    50: '#71b767',
    500: '#1f9725',
    950: '#000000',
  },
}
SCSS
$custom: #1f9725;
$custom-light: #71b767;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9725",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 37
  },
  "hsl": {
    "h": 123,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59112,
    "c": 0.18157,
    "h": 143.4
  },
  "luminance": 0.22558
}

Semantic roles & 50–950 ramp

primary
#1F9725
secondary
#BF52BA
accent
#3FE0E9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9725

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

Preview Lab → · Contrast checker → · Palette generator →

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