#1F9451#1F9451

#1F9451 is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.8% C 0.142 H 152.5°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#1F9451
RGBrgb(31, 148, 81)
HSLhsl(146, 65%, 35%)
HSVhsv(146, 79%, 58%)
CMYKcmyk(79.1%, 0%, 45.3%, 42%)
CIE-LABlab(54.09, -46.92, 26.66)
CIE-LCHlch(54.09, 53.97, 150.40°)
OKLaboklab(58.84% -0.1262 0.0657)
OKLCHoklch(58.84% 0.142 152.5)
XYZxyz(12.6390, 22.0637, 11.3756)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9451 #941F62
analogous
#28941F #1F9451 #1F948B
triadic
#1F9451 #511F94 #94511F
tetradic
#1F9451 #1F2894 #941F62 #948B1F
square
#1F9451 #1F2894 #941F62 #948B1F
split-complementary
#1F9451 #8B1F94 #941F28
monochromatic
#0A2F1A #146135 #1F9451 #2AC76D #53DB8D

Accessibility & contrast

On white

3.88
#1F9451 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#1F9451 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9451
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9451#FFFFFF#000000##000000
##1F94511.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94874C
Deuteranopia (green-blind)
#877E56
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #1f9451;
/* rgb */ color: rgb(31, 148, 81);
/* oklch */ color: oklch(58.8% 0.142 152.5);
Tailwind
colors: {
  custom: {
    50: '#6fb483',
    500: '#1f9451',
    950: '#000000',
  },
}
SCSS
$custom: #1f9451;
$custom-light: #6fb483;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9451",
  "rgb": {
    "r": 31,
    "g": 148,
    "b": 81
  },
  "hsl": {
    "h": 145.641,
    "s": 65.363,
    "l": 35.098
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.14222,
    "h": 152.5
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#1F9451
secondary
#BE518F
accent
#3FA0E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110A
muted
#7B807C

Preview Lab

Preview with #1F9451

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

Preview Lab → · Contrast checker → · Palette generator →

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