#1F9E26#1F9E26

#1F9E26 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.1% C 0.189 H 143.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#1F9E26
RGBrgb(31, 158, 38)
HSLhsl(123, 67%, 37%)
HSVhsv(123, 80%, 62%)
CMYKcmyk(80.4%, 0%, 75.9%, 38%)
CIE-LABlab(56.96, -55.95, 49.93)
CIE-LCHlch(56.96, 74.99, 138.25°)
OKLaboklab(61.07% -0.1515 0.1126)
OKLCHoklch(61.07% 0.189 143.4)
XYZxyz(13.1409, 24.8834, 5.9438)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9E26 #9E1F97
analogous
#589E1F #1F9E26 #1F9E66
triadic
#1F9E26 #261F9E #9E261F
tetradic
#1F9E26 #1F589E #9E1F97 #9E661F
square
#1F9E26 #1F589E #9E1F97 #9E661F
split-complementary
#1F9E26 #661F9E #9E1F58
monochromatic
#0B380D #156B1A #1F9E26 #29D132 #59DE60

Accessibility & contrast

On white

3.51
#1F9E26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#1F9E26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9E26
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9E26#FFFFFF#000000##000000
##1F9E261.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0D
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #1f9e26;
/* rgb */ color: rgb(31, 158, 38);
/* oklch */ color: oklch(61.1% 0.189 143.4);
Tailwind
colors: {
  custom: {
    50: '#73bc69',
    500: '#1f9e26',
    950: '#000000',
  },
}
SCSS
$custom: #1f9e26;
$custom-light: #73bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9e26",
  "rgb": {
    "r": 31,
    "g": 158,
    "b": 38
  },
  "hsl": {
    "h": 123.307,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61067,
    "c": 0.18882,
    "h": 143.4
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#1F9E26
secondary
#C256BC
accent
#3EE1EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9E26

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

Preview Lab → · Contrast checker → · Palette generator →

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