#1F9F26#1F9F26

#1F9F26 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.3% C 0.190 H 143.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#1F9F26
RGBrgb(31, 159, 38)
HSLhsl(123, 67%, 37%)
HSVhsv(123, 81%, 62%)
CMYKcmyk(80.5%, 0%, 76.1%, 37.6%)
CIE-LABlab(57.29, -56.26, 50.26)
CIE-LCHlch(57.29, 75.44, 138.23°)
OKLaboklab(61.34% -0.1524 0.1133)
OKLCHoklch(61.34% 0.19 143.4)
XYZxyz(13.3122, 25.2259, 6.0008)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9F26 #9F1F98
analogous
#589F1F #1F9F26 #1F9F66
triadic
#1F9F26 #261F9F #9F261F
tetradic
#1F9F26 #1F589F #9F1F98 #9F661F
square
#1F9F26 #1F589F #9F1F98 #9F661F
split-complementary
#1F9F26 #661F9F #9F1F58
monochromatic
#0B390E #156C1A #1F9F26 #29D232 #5ADF61

Accessibility & contrast

On white

3.47
#1F9F26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#1F9F26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9F26
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9F26#FFFFFF#000000##000000
##1F9F261.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0C
Deuteranopia (green-blind)
#958633
Tritanopia (blue-blind)
#009A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #1f9f26;
/* rgb */ color: rgb(31, 159, 38);
/* oklch */ color: oklch(61.3% 0.190 143.4);
Tailwind
colors: {
  custom: {
    50: '#73bd69',
    500: '#1f9f26',
    950: '#000000',
  },
}
SCSS
$custom: #1f9f26;
$custom-light: #73bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9f26",
  "rgb": {
    "r": 31,
    "g": 159,
    "b": 38
  },
  "hsl": {
    "h": 123.281,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61344,
    "c": 0.18993,
    "h": 143.4
  },
  "luminance": 0.25228
}

Semantic roles & 50–950 ramp

primary
#1F9F26
secondary
#C357BD
accent
#3EE1EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #1F9F26

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

Preview Lab → · Contrast checker → · Palette generator →

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