#1F9852#1F9852

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

Color values

HEX#1F9852
RGBrgb(31, 152, 82)
HSLhsl(145, 66%, 36%)
HSVhsv(145, 80%, 60%)
CMYKcmyk(79.6%, 0%, 46.1%, 40.4%)
CIE-LABlab(55.44, -48.24, 27.85)
CIE-LCHlch(55.44, 55.70, 150.00°)
OKLaboklab(59.95% -0.1296 0.0685)
OKLCHoklch(59.95% 0.147 152.2)
XYZxyz(13.3151, 23.3554, 11.7873)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9852 #981F65
analogous
#29981F #1F9852 #1F988E
triadic
#1F9852 #521F98 #98521F
tetradic
#1F9852 #1F2998 #981F65 #988E1F
square
#1F9852 #1F2998 #981F65 #988E1F
split-complementary
#1F9852 #8E1F98 #981F29
monochromatic
#0A321B #156537 #1F9852 #29CB6D #55DC8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F9852#FFFFFF#000000##000000
##1F98521.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)
#988B4D
Deuteranopia (green-blind)
#8A8157
Tritanopia (blue-blind)
#009687
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #1f9852;
/* rgb */ color: rgb(31, 152, 82);
/* oklch */ color: oklch(60.0% 0.147 152.2);
Tailwind
colors: {
  custom: {
    50: '#70b783',
    500: '#1f9852',
    950: '#000000',
  },
}
SCSS
$custom: #1f9852;
$custom-light: #70b783;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9852",
  "rgb": {
    "r": 31,
    "g": 152,
    "b": 82
  },
  "hsl": {
    "h": 145.289,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.1466,
    "h": 152.2
  },
  "luminance": 0.23357
}

Semantic roles & 50–950 ramp

primary
#1F9852
secondary
#C05392
accent
#3FA1E9
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#09110B
muted
#7B807C

Preview Lab

Preview with #1F9852

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

Preview Lab → · Contrast checker → · Palette generator →

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