#1F9541#1F9541

#1F9541 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.158 H 148.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#1F9541
RGBrgb(31, 149, 65)
HSLhsl(137, 66%, 35%)
HSVhsv(137, 79%, 58%)
CMYKcmyk(79.2%, 0%, 56.4%, 41.6%)
CIE-LABlab(54.20, -49.93, 35.12)
CIE-LCHlch(54.20, 61.05, 144.88°)
OKLaboklab(58.86% -0.1342 0.084)
OKLCHoklch(58.86% 0.158 148)
XYZxyz(12.2657, 22.1664, 8.6321)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9541 #951F73
analogous
#38951F #1F9541 #1F957C
triadic
#1F9541 #411F95 #95411F
tetradic
#1F9541 #1F3895 #951F73 #957C1F
square
#1F9541 #1F3895 #951F73 #957C1F
split-complementary
#1F9541 #7C1F95 #951F38
monochromatic
#0A3015 #14622B #1F9541 #2AC857 #53DB7A

Accessibility & contrast

On white

3.86
#1F9541 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#1F9541 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9541
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9541#FFFFFF#000000##000000
##1F95411.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#978739
Deuteranopia (green-blind)
#897E48
Tritanopia (blue-blind)
#009282
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f9541;
/* rgb */ color: rgb(31, 149, 65);
/* oklch */ color: oklch(58.9% 0.158 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fb578',
    500: '#1f9541',
    950: '#000000',
  },
}
SCSS
$custom: #1f9541;
$custom-light: #6fb578;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9541",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 65
  },
  "hsl": {
    "h": 137.288,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.15831,
    "h": 148
  },
  "luminance": 0.22168
}

Semantic roles & 50–950 ramp

primary
#1F9541
secondary
#BF519F
accent
#3FB8E9
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #1F9541

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

Preview Lab → · Contrast checker → · Palette generator →

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