#1F8926#1F8926

#1F8926 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.2% C 0.165 H 143.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#1F8926
RGBrgb(31, 137, 38)
HSLhsl(124, 63%, 33%)
HSVhsv(124, 77%, 54%)
CMYKcmyk(77.4%, 0%, 72.3%, 46.3%)
CIE-LABlab(49.88, -49.05, 42.70)
CIE-LCHlch(49.88, 65.03, 138.96°)
OKLaboklab(55.18% -0.1328 0.0975)
OKLCHoklch(55.18% 0.165 143.7)
XYZxyz(9.8599, 18.3214, 4.8501)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F8926 #891F82
analogous
#4D891F #1F8926 #1F895B
triadic
#1F8926 #261F89 #89261F
tetradic
#1F8926 #1F4D89 #891F82 #895B1F
square
#1F8926 #1F4D89 #891F82 #895B1F
split-complementary
#1F8926 #5B1F89 #891F4D
monochromatic
#08250A #145718 #1F8926 #2ABB34 #4CD655

Accessibility & contrast

On white

4.50
#1F8926 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#1F8926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F8926
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F8926#FFFFFF#000000##000000
##1F89261.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C17
Deuteranopia (green-blind)
#807330
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f8926;
/* rgb */ color: rgb(31, 137, 38);
/* oklch */ color: oklch(55.2% 0.165 143.7);
Tailwind
colors: {
  custom: {
    50: '#6eac66',
    500: '#1f8926',
    950: '#000000',
  },
}
SCSS
$custom: #1f8926;
$custom-light: #6eac66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f8926",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 38
  },
  "hsl": {
    "h": 123.962,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.16477,
    "h": 143.7
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#1F8926
secondary
#B94BB2
accent
#42DBE6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F8926

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

Preview Lab → · Contrast checker → · Palette generator →

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