#1F9D34#1F9D34

#1F9D34 is a mid, vivid green. Relative luminance 0.247; OKLCH L 60.9% C 0.179 H 145.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#1F9D34
RGBrgb(31, 157, 52)
HSLhsl(130, 67%, 37%)
HSVhsv(130, 80%, 62%)
CMYKcmyk(80.3%, 0%, 66.9%, 38.4%)
CIE-LABlab(56.73, -54.31, 44.12)
CIE-LCHlch(56.73, 69.98, 140.91°)
OKLaboklab(60.91% -0.1465 0.1022)
OKLCHoklch(60.91% 0.179 145.1)
XYZxyz(13.2409, 24.6516, 7.3085)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9D34 #9D1F88
analogous
#499D1F #1F9D34 #1F9D73
triadic
#1F9D34 #341F9D #9D341F
tetradic
#1F9D34 #1F499D #9D1F88 #9D731F
square
#1F9D34 #1F499D #9D1F88 #9D731F
split-complementary
#1F9D34 #731F9D #9D1F49
monochromatic
#0B3712 #156A23 #1F9D34 #29D045 #58DE6F

Accessibility & contrast

On white

3.54
#1F9D34 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#1F9D34 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9D34
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9D34#FFFFFF#000000##000000
##1F9D341.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E27
Deuteranopia (green-blind)
#92843E
Tritanopia (blue-blind)
#009987
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #1f9d34;
/* rgb */ color: rgb(31, 157, 52);
/* oklch */ color: oklch(60.9% 0.179 145.1);
Tailwind
colors: {
  custom: {
    50: '#72bb70',
    500: '#1f9d34',
    950: '#000000',
  },
}
SCSS
$custom: #1f9d34;
$custom-light: #72bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9d34",
  "rgb": {
    "r": 31,
    "g": 157,
    "b": 52
  },
  "hsl": {
    "h": 130,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60912,
    "c": 0.17861,
    "h": 145.1
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#1F9D34
secondary
#C256B0
accent
#3ECDEA
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#091208
muted
#7B817B

Preview Lab

Preview with #1F9D34

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

Preview Lab → · Contrast checker → · Palette generator →

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