#1F9651#1F9651

#1F9651 is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.4% C 0.145 H 152.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#1F9651
RGBrgb(31, 150, 81)
HSLhsl(145, 66%, 35%)
HSVhsv(145, 79%, 59%)
CMYKcmyk(79.3%, 0%, 46%, 41.2%)
CIE-LABlab(54.76, -47.67, 27.51)
CIE-LCHlch(54.76, 55.04, 150.01°)
OKLaboklab(59.39% -0.1281 0.0677)
OKLCHoklch(59.39% 0.145 152.2)
XYZxyz(12.9555, 22.6965, 11.4811)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9651 #961F64
analogous
#28961F #1F9651 #1F968C
triadic
#1F9651 #511F96 #96511F
tetradic
#1F9651 #1F2896 #961F64 #968C1F
square
#1F9651 #1F2896 #961F64 #968C1F
split-complementary
#1F9651 #8C1F96 #961F28
monochromatic
#0A311A #156336 #1F9651 #29C96C #54DC8D

Accessibility & contrast

On white

3.79
#1F9651 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#1F9651 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9651
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9651#FFFFFF#000000##000000
##1F96511.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96894C
Deuteranopia (green-blind)
#897F56
Tritanopia (blue-blind)
#009485
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #1f9651;
/* rgb */ color: rgb(31, 150, 81);
/* oklch */ color: oklch(59.4% 0.145 152.2);
Tailwind
colors: {
  custom: {
    50: '#6fb683',
    500: '#1f9651',
    950: '#000000',
  },
}
SCSS
$custom: #1f9651;
$custom-light: #6fb683;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9651",
  "rgb": {
    "r": 31,
    "g": 150,
    "b": 81
  },
  "hsl": {
    "h": 145.21,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.14489,
    "h": 152.2
  },
  "luminance": 0.22698
}

Semantic roles & 50–950 ramp

primary
#1F9651
secondary
#BF5291
accent
#3FA1E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F9651

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

Preview Lab → · Contrast checker → · Palette generator →

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