#1F9726#1F9726

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

Color values

HEX#1F9726
RGBrgb(31, 151, 38)
HSLhsl(124, 66%, 36%)
HSVhsv(124, 79%, 59%)
CMYKcmyk(79.5%, 0%, 74.8%, 40.8%)
CIE-LABlab(54.62, -53.69, 47.57)
CIE-LCHlch(54.62, 71.74, 138.46°)
OKLaboklab(59.12% -0.1454 0.1077)
OKLCHoklch(59.12% 0.181 143.5)
XYZxyz(11.9808, 22.5630, 5.5570)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9726 #971F90
analogous
#54971F #1F9726 #1F9762
triadic
#1F9726 #261F97 #97261F
tetradic
#1F9726 #1F5497 #971F90 #97621F
square
#1F9726 #1F5497 #971F90 #97621F
split-complementary
#1F9726 #621F97 #971F54
monochromatic
#0A310C #156419 #1F9726 #29CA33 #54DC5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9726#FFFFFF#000000##000000
##1F97261.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)
#9A8811
Deuteranopia (green-blind)
#8D7F32
Tritanopia (blue-blind)
#009381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9726;
/* rgb */ color: rgb(31, 151, 38);
/* oklch */ color: oklch(59.1% 0.181 143.5);
Tailwind
colors: {
  custom: {
    50: '#71b768',
    500: '#1f9726',
    950: '#000000',
  },
}
SCSS
$custom: #1f9726;
$custom-light: #71b768;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9726",
  "rgb": {
    "r": 31,
    "g": 151,
    "b": 38
  },
  "hsl": {
    "h": 123.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59119,
    "c": 0.18098,
    "h": 143.5
  },
  "luminance": 0.22564
}

Semantic roles & 50–950 ramp

primary
#1F9726
secondary
#BF52B9
accent
#3FDFE9
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #1F9726

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

Preview Lab → · Contrast checker → · Palette generator →

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