#1F9851#1F9851

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

Color values

HEX#1F9851
RGBrgb(31, 152, 81)
HSLhsl(145, 66%, 36%)
HSVhsv(145, 80%, 60%)
CMYKcmyk(79.6%, 0%, 46.7%, 40.4%)
CIE-LABlab(55.42, -48.42, 28.36)
CIE-LCHlch(55.42, 56.11, 149.64°)
OKLaboklab(59.94% -0.1301 0.0696)
OKLCHoklch(59.94% 0.148 151.8)
XYZxyz(13.2773, 23.3403, 11.5883)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9851 #981F66
analogous
#2A981F #1F9851 #1F988D
triadic
#1F9851 #511F98 #98511F
tetradic
#1F9851 #1F2A98 #981F66 #988D1F
square
#1F9851 #1F2A98 #981F66 #988D1F
split-complementary
#1F9851 #8D1F98 #981F2A
monochromatic
#0A321B #156536 #1F9851 #29CB6C #55DC8D

Accessibility & contrast

On white

3.70
#1F9851 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9851#FFFFFF#000000##000000
##1F98511.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9851;
/* rgb */ color: rgb(31, 152, 81);
/* oklch */ color: oklch(59.9% 0.148 151.8);
Tailwind
colors: {
  custom: {
    50: '#70b783',
    500: '#1f9851',
    950: '#000000',
  },
}
SCSS
$custom: #1f9851;
$custom-light: #70b783;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9851",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 81
  },
  "hsl": {
    "h": 144.793,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59936,
    "c": 0.14754,
    "h": 151.8
  },
  "luminance": 0.23342
}

Semantic roles & 50–950 ramp

primary
#1F9851
secondary
#C05393
accent
#3FA3E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #1F9851

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

Preview Lab → · Contrast checker → · Palette generator →

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