#1F954C#1F954C

#1F954C is a mid, vivid green. Relative luminance 0.223; OKLCH L 59.0% C 0.148 H 150.8°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1F954C
RGBrgb(31, 149, 76)
HSLhsl(143, 66%, 35%)
HSVhsv(143, 79%, 58%)
CMYKcmyk(79.2%, 0%, 49%, 41.6%)
CIE-LABlab(54.35, -48.18, 29.65)
CIE-LCHlch(54.35, 56.57, 148.40°)
OKLaboklab(59.03% -0.1294 0.0724)
OKLCHoklch(59.03% 0.148 150.8)
XYZxyz(12.6159, 22.3065, 10.4768)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F954C #951F68
analogous
#2D951F #1F954C #1F9587
triadic
#1F954C #4C1F95 #954C1F
tetradic
#1F954C #1F2D95 #951F68 #95871F
square
#1F954C #1F2D95 #951F68 #95871F
split-complementary
#1F954C #871F95 #951F2D
monochromatic
#0A3018 #146232 #1F954C #2AC866 #53DB87

Accessibility & contrast

On white

3.85
#1F954C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#1F954C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F954C
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F954C#FFFFFF#000000##000000
##1F954C1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#968846
Deuteranopia (green-blind)
#887E51
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f954c;
/* rgb */ color: rgb(31, 149, 76);
/* oklch */ color: oklch(59.0% 0.148 150.8);
Tailwind
colors: {
  custom: {
    50: '#6fb57f',
    500: '#1f954c',
    950: '#000000',
  },
}
SCSS
$custom: #1f954c;
$custom-light: #6fb57f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f954c",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 76
  },
  "hsl": {
    "h": 142.881,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.14828,
    "h": 150.8
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#1F954C
secondary
#BF5195
accent
#3FA8E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F954C

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

Preview Lab → · Contrast checker → · Palette generator →

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