#1F9850#1F9850

#1F9850 is a mid, vivid green. Relative luminance 0.233; OKLCH L 59.9% C 0.148 H 151.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#1F9850
RGBrgb(31, 152, 80)
HSLhsl(144, 66%, 36%)
HSVhsv(144, 80%, 60%)
CMYKcmyk(79.6%, 0%, 47.4%, 40.4%)
CIE-LABlab(55.41, -48.59, 28.87)
CIE-LCHlch(55.41, 56.52, 149.28°)
OKLaboklab(59.92% -0.1305 0.0707)
OKLCHoklch(59.92% 0.148 151.5)
XYZxyz(13.2401, 23.3254, 11.3923)
Luminance0.2333 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9850 #981F67
analogous
#2A981F #1F9850 #1F988C
triadic
#1F9850 #501F98 #98501F
tetradic
#1F9850 #1F2A98 #981F67 #988C1F
square
#1F9850 #1F2A98 #981F67 #988C1F
split-complementary
#1F9850 #8C1F98 #981F2A
monochromatic
#0A321A #156535 #1F9850 #29CB6B #55DC8C

Accessibility & contrast

On white

3.71
#1F9850 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#1F9850 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9850
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9850#FFFFFF#000000##000000
##1F98501.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4A
Deuteranopia (green-blind)
#8B8155
Tritanopia (blue-blind)
#009687
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9850;
/* rgb */ color: rgb(31, 152, 80);
/* oklch */ color: oklch(59.9% 0.148 151.5);
Tailwind
colors: {
  custom: {
    50: '#70b782',
    500: '#1f9850',
    950: '#000000',
  },
}
SCSS
$custom: #1f9850;
$custom-light: #70b782;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9850",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 80
  },
  "hsl": {
    "h": 144.298,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.14848,
    "h": 151.5
  },
  "luminance": 0.23327
}

Semantic roles & 50–950 ramp

primary
#1F9850
secondary
#C05394
accent
#3FA4E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F9850

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

Preview Lab → · Contrast checker → · Palette generator →

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