#1F9D26#1F9D26

#1F9D26 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.188 H 143.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#1F9D26
RGBrgb(31, 157, 38)
HSLhsl(123, 67%, 37%)
HSVhsv(123, 80%, 62%)
CMYKcmyk(80.3%, 0%, 75.8%, 38.4%)
CIE-LABlab(56.63, -55.63, 49.59)
CIE-LCHlch(56.63, 74.53, 138.28°)
OKLaboklab(60.79% -0.1507 0.1119)
OKLCHoklch(60.79% 0.188 143.4)
XYZxyz(12.9710, 24.5436, 5.8871)
Luminance0.2455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D26 #9D1F96
analogous
#579D1F #1F9D26 #1F9D65
triadic
#1F9D26 #261F9D #9D261F
tetradic
#1F9D26 #1F579D #9D1F96 #9D651F
square
#1F9D26 #1F579D #9D1F96 #9D651F
split-complementary
#1F9D26 #651F9D #9D1F57
monochromatic
#0B370D #156A1A #1F9D26 #29D032 #58DE60

Accessibility & contrast

On white

3.55
#1F9D26 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#1F9D26 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D26
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D26#FFFFFF#000000##000000
##1F9D261.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E0D
Deuteranopia (green-blind)
#938433
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d26;
/* rgb */ color: rgb(31, 157, 38);
/* oklch */ color: oklch(60.8% 0.188 143.4);
Tailwind
colors: {
  custom: {
    50: '#73bb69',
    500: '#1f9d26',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d26;
$custom-light: #73bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d26",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 38
  },
  "hsl": {
    "h": 123.333,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6079,
    "c": 0.18771,
    "h": 143.4
  },
  "luminance": 0.24545
}

Semantic roles & 50–950 ramp

primary
#1F9D26
secondary
#C256BC
accent
#3EE0EA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091207
muted
#7B817A

Preview Lab

Preview with #1F9D26

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

Preview Lab → · Contrast checker → · Palette generator →

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