#1F9156#1F9156

#1F9156 is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.133 H 154.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#1F9156
RGBrgb(31, 145, 86)
HSLhsl(149, 65%, 35%)
HSVhsv(149, 79%, 57%)
CMYKcmyk(78.6%, 0%, 40.7%, 43.1%)
CIE-LABlab(53.18, -44.82, 22.74)
CIE-LCHlch(53.18, 50.26, 153.10°)
OKLaboklab(58.11% -0.1208 0.0567)
OKLCHoklch(58.11% 0.133 154.9)
XYZxyz(12.3690, 21.2125, 12.2448)
Luminance0.2121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9156 #911F5A
analogous
#21911F #1F9156 #1F918F
triadic
#1F9156 #561F91 #91561F
tetradic
#1F9156 #1F2191 #911F5A #918F1F
square
#1F9156 #1F2191 #911F5A #918F1F
split-complementary
#1F9156 #8F1F91 #911F21
monochromatic
#092C1A #145F38 #1F9156 #2AC374 #51DA93

Accessibility & contrast

On white

4.01
#1F9156 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#1F9156 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9156
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9156#FFFFFF#000000##000000
##1F91561.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918552
Deuteranopia (green-blind)
#837B5A
Tritanopia (blue-blind)
#008F82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #1f9156;
/* rgb */ color: rgb(31, 145, 86);
/* oklch */ color: oklch(58.1% 0.133 154.9);
Tailwind
colors: {
  custom: {
    50: '#6eb286',
    500: '#1f9156',
    950: '#000000',
  },
}
SCSS
$custom: #1f9156;
$custom-light: #6eb286;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9156",
  "rgb": {
    "r": 31,
    "g": 145,
    "b": 86
  },
  "hsl": {
    "h": 148.947,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.13341,
    "h": 154.9
  },
  "luminance": 0.21214
}

Semantic roles & 50–950 ramp

primary
#1F9156
secondary
#BD4F88
accent
#4097E8
background
#F7FBF8
surface
#EDF6EF
border
#C8D0CA
text
#08110B
muted
#7B807C

Preview Lab

Preview with #1F9156

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

Preview Lab → · Contrast checker → · Palette generator →

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