#1F8D26#1F8D26

#1F8D26 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.3% C 0.169 H 143.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#1F8D26
RGBrgb(31, 141, 38)
HSLhsl(124, 64%, 34%)
HSVhsv(124, 78%, 55%)
CMYKcmyk(78%, 0%, 73%, 44.7%)
CIE-LABlab(51.24, -50.40, 44.11)
CIE-LCHlch(51.24, 66.98, 138.80°)
OKLaboklab(56.31% -0.1365 0.1005)
OKLCHoklch(56.31% 0.169 143.6)
XYZxyz(10.4391, 19.4798, 5.0432)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8D26 #8D1F86
analogous
#4F8D1F #1F8D26 #1F8D5D
triadic
#1F8D26 #261F8D #8D261F
tetradic
#1F8D26 #1F4F8D #8D1F86 #8D5D1F
square
#1F8D26 #1F4F8D #8D1F86 #8D5D1F
split-complementary
#1F8D26 #5D1F8D #8D1F4F
monochromatic
#09290B #145B18 #1F8D26 #2ABF34 #4ED857

Accessibility & contrast

On white

4.29
#1F8D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#1F8D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8D26
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8D26#FFFFFF#000000##000000
##1F8D261.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F15
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #1f8d26;
/* rgb */ color: rgb(31, 141, 38);
/* oklch */ color: oklch(56.3% 0.169 143.6);
Tailwind
colors: {
  custom: {
    50: '#6faf67',
    500: '#1f8d26',
    950: '#000000',
  },
}
SCSS
$custom: #1f8d26;
$custom-light: #6faf67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8d26",
  "rgb": {
    "r": 31,
    "g": 141,
    "b": 38
  },
  "hsl": {
    "h": 123.818,
    "s": 63.953,
    "l": 33.725
  },
  "oklch": {
    "l": 0.56314,
    "c": 0.16947,
    "h": 143.6
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#1F8D26
secondary
#BB4DB4
accent
#41DCE7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8D26

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

Preview Lab → · Contrast checker → · Palette generator →

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