#1F954E#1F954E

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

Color values

HEX#1F954E
RGBrgb(31, 149, 78)
HSLhsl(144, 66%, 35%)
HSVhsv(144, 79%, 58%)
CMYKcmyk(79.2%, 0%, 47.7%, 41.6%)
CIE-LABlab(54.38, -47.84, 28.63)
CIE-LCHlch(54.38, 55.75, 149.10°)
OKLaboklab(59.06% -0.1285 0.0701)
OKLCHoklch(59.06% 0.146 151.4)
XYZxyz(12.6865, 22.3347, 10.8487)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F954E #951F66
analogous
#2B951F #1F954E #1F9589
triadic
#1F954E #4E1F95 #954E1F
tetradic
#1F954E #1F2B95 #951F66 #95891F
square
#1F954E #1F2B95 #951F66 #95891F
split-complementary
#1F954E #891F95 #951F2B
monochromatic
#0A3019 #146233 #1F954E #2AC869 #53DB89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F954E#FFFFFF#000000##000000
##1F954E1.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)
#968848
Deuteranopia (green-blind)
#887E53
Tritanopia (blue-blind)
#009384
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f954e;
/* rgb */ color: rgb(31, 149, 78);
/* oklch */ color: oklch(59.1% 0.146 151.4);
Tailwind
colors: {
  custom: {
    50: '#6fb581',
    500: '#1f954e',
    950: '#000000',
  },
}
SCSS
$custom: #1f954e;
$custom-light: #6fb581;
$custom-dark: #000000;
JSON
{
  "hex": "#1f954e",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 78
  },
  "hsl": {
    "h": 143.898,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.14639,
    "h": 151.4
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

primary
#1F954E
secondary
#BF5193
accent
#3FA5E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F954E

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

Preview Lab → · Contrast checker → · Palette generator →

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