#1F954F#1F954F

#1F954F is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.145 H 151.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#1F954F
RGBrgb(31, 149, 79)
HSLhsl(144, 66%, 35%)
HSVhsv(144, 79%, 58%)
CMYKcmyk(79.2%, 0%, 47%, 41.6%)
CIE-LABlab(54.40, -47.66, 28.11)
CIE-LCHlch(54.40, 55.33, 149.46°)
OKLaboklab(59.08% -0.1281 0.069)
OKLCHoklch(59.08% 0.145 151.7)
XYZxyz(12.7227, 22.3492, 11.0389)
Luminance0.2235 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F954F #951F65
analogous
#2A951F #1F954F #1F958A
triadic
#1F954F #4F1F95 #954F1F
tetradic
#1F954F #1F2A95 #951F65 #958A1F
square
#1F954F #1F2A95 #951F65 #958A1F
split-complementary
#1F954F #8A1F95 #951F2A
monochromatic
#0A3019 #146234 #1F954F #2AC86A #53DB8B

Accessibility & contrast

On white

3.84
#1F954F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#1F954F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F954F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F954F#FFFFFF#000000##000000
##1F954F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95884A
Deuteranopia (green-blind)
#887E54
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f954f;
/* rgb */ color: rgb(31, 149, 79);
/* oklch */ color: oklch(59.1% 0.145 151.7);
Tailwind
colors: {
  custom: {
    50: '#6fb581',
    500: '#1f954f',
    950: '#000000',
  },
}
SCSS
$custom: #1f954f;
$custom-light: #6fb581;
$custom-dark: #000000;
JSON
{
  "hex": "#1f954f",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 79
  },
  "hsl": {
    "h": 144.407,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59077,
    "c": 0.14546,
    "h": 151.7
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

primary
#1F954F
secondary
#BF5192
accent
#3FA4E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F954F

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

Preview Lab → · Contrast checker → · Palette generator →

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