#1F9854#1F9854

#1F9854 is a mid, vivid green. Relative luminance 0.234; OKLCH L 60.0% C 0.145 H 152.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#1F9854
RGBrgb(31, 152, 84)
HSLhsl(146, 66%, 36%)
HSVhsv(146, 80%, 60%)
CMYKcmyk(79.6%, 0%, 44.7%, 40.4%)
CIE-LABlab(55.47, -47.87, 26.82)
CIE-LCHlch(55.47, 54.87, 150.74°)
OKLaboklab(59.99% -0.1287 0.0662)
OKLCHoklch(59.99% 0.145 152.8)
XYZxyz(13.3923, 23.3862, 12.1940)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9854 #981F63
analogous
#26981F #1F9854 #1F9890
triadic
#1F9854 #541F98 #98541F
tetradic
#1F9854 #1F2698 #981F63 #98901F
square
#1F9854 #1F2698 #981F63 #98901F
split-complementary
#1F9854 #901F98 #981F26
monochromatic
#0A321C #156538 #1F9854 #29CB70 #55DC90

Accessibility & contrast

On white

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

On black

5.68
#1F9854 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9854
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9854#FFFFFF#000000##000000
##1F98541.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f9854;
/* rgb */ color: rgb(31, 152, 84);
/* oklch */ color: oklch(60.0% 0.145 152.8);
Tailwind
colors: {
  custom: {
    50: '#70b785',
    500: '#1f9854',
    950: '#000000',
  },
}
SCSS
$custom: #1f9854;
$custom-light: #70b785;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9854",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 84
  },
  "hsl": {
    "h": 146.281,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5999,
    "c": 0.1447,
    "h": 152.8
  },
  "luminance": 0.23388
}

Semantic roles & 50–950 ramp

primary
#1F9854
secondary
#C05390
accent
#3F9EE9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9854

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

Preview Lab → · Contrast checker → · Palette generator →

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