#1F954B#1F954B

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

Color values

HEX#1F954B
RGBrgb(31, 149, 75)
HSLhsl(142, 66%, 35%)
HSVhsv(142, 79%, 58%)
CMYKcmyk(79.2%, 0%, 49.7%, 41.6%)
CIE-LABlab(54.34, -48.35, 30.15)
CIE-LCHlch(54.34, 56.99, 148.05°)
OKLaboklab(59.01% -0.1299 0.0735)
OKLCHoklch(59.01% 0.149 150.5)
XYZxyz(12.5814, 22.2927, 10.2951)
Luminance0.2229 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F954B #951F69
analogous
#2E951F #1F954B #1F9586
triadic
#1F954B #4B1F95 #954B1F
tetradic
#1F954B #1F2E95 #951F69 #95861F
square
#1F954B #1F2E95 #951F69 #95861F
split-complementary
#1F954B #861F95 #951F2E
monochromatic
#0A3018 #146231 #1F954B #2AC864 #53DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F954B#FFFFFF#000000##000000
##1F954B1.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)
#968845
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#009284
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #1f954b;
/* rgb */ color: rgb(31, 149, 75);
/* oklch */ color: oklch(59.0% 0.149 150.5);
Tailwind
colors: {
  custom: {
    50: '#6fb57e',
    500: '#1f954b',
    950: '#000000',
  },
}
SCSS
$custom: #1f954b;
$custom-light: #6fb57e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f954b",
  "rgb": {
    "r": 31,
    "g": 149,
    "b": 75
  },
  "hsl": {
    "h": 142.373,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59009,
    "c": 0.14922,
    "h": 150.5
  },
  "luminance": 0.22294
}

Semantic roles & 50–950 ramp

primary
#1F954B
secondary
#BF5196
accent
#3FA9E9
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F954B

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

Preview Lab → · Contrast checker → · Palette generator →

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