#1F8B26#1F8B26

#1F8B26 is a mid, vivid green. Relative luminance 0.189; OKLCH L 55.7% C 0.167 H 143.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#1F8B26
RGBrgb(31, 139, 38)
HSLhsl(124, 64%, 33%)
HSVhsv(124, 78%, 55%)
CMYKcmyk(77.7%, 0%, 72.7%, 45.5%)
CIE-LABlab(50.56, -49.72, 43.41)
CIE-LCHlch(50.56, 66.00, 138.88°)
OKLaboklab(55.75% -0.1346 0.099)
OKLCHoklch(55.75% 0.167 143.7)
XYZxyz(10.1469, 18.8953, 4.9457)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8B26 #8B1F84
analogous
#4E8B1F #1F8B26 #1F8B5C
triadic
#1F8B26 #261F8B #8B261F
tetradic
#1F8B26 #1F4E8B #8B1F84 #8B5C1F
square
#1F8B26 #1F4E8B #8B1F84 #8B5C1F
split-complementary
#1F8B26 #5C1F8B #8B1F4E
monochromatic
#09270B #145918 #1F8B26 #2ABD34 #4DD756

Accessibility & contrast

On white

4.39
#1F8B26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#1F8B26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8B26
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8B26#FFFFFF#000000##000000
##1F8B261.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D16
Deuteranopia (green-blind)
#827530
Tritanopia (blue-blind)
#008777
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #1f8b26;
/* rgb */ color: rgb(31, 139, 38);
/* oklch */ color: oklch(55.7% 0.167 143.7);
Tailwind
colors: {
  custom: {
    50: '#6eae66',
    500: '#1f8b26',
    950: '#000000',
  },
}
SCSS
$custom: #1f8b26;
$custom-light: #6eae66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8b26",
  "rgb": {
    "r": 31,
    "g": 139,
    "b": 38
  },
  "hsl": {
    "h": 123.889,
    "s": 63.529,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.16713,
    "h": 143.7
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#1F8B26
secondary
#BA4CB3
accent
#41DCE7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8B26

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

Preview Lab → · Contrast checker → · Palette generator →

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