#1F9B48#1F9B48

#1F9B48 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.160 H 149.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#1F9B48
RGBrgb(31, 155, 72)
HSLhsl(140, 67%, 36%)
HSVhsv(140, 80%, 61%)
CMYKcmyk(80%, 0%, 53.5%, 39.2%)
CIE-LABlab(56.29, -51.00, 34.12)
CIE-LCHlch(56.29, 61.36, 146.21°)
OKLaboklab(60.61% -0.137 0.0822)
OKLCHoklch(60.61% 0.16 149)
XYZxyz(13.4550, 24.2002, 10.0916)
Luminance0.2420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F9B48 #9B1F72
analogous
#349B1F #1F9B48 #1F9B86
triadic
#1F9B48 #481F9B #9B481F
tetradic
#1F9B48 #1F349B #9B1F72 #9B861F
square
#1F9B48 #1F349B #9B1F72 #9B861F
split-complementary
#1F9B48 #861F9B #9B1F34
monochromatic
#0B3519 #156830 #1F9B48 #29CE60 #57DD83

Accessibility & contrast

On white

3.60
#1F9B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#1F9B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F9B48
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F9B48#FFFFFF#000000##000000
##1F9B481.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D41
Deuteranopia (green-blind)
#8E834E
Tritanopia (blue-blind)
#009888
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #1f9b48;
/* rgb */ color: rgb(31, 155, 72);
/* oklch */ color: oklch(60.6% 0.160 149.0);
Tailwind
colors: {
  custom: {
    50: '#71ba7d',
    500: '#1f9b48',
    950: '#000000',
  },
}
SCSS
$custom: #1f9b48;
$custom-light: #71ba7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1f9b48",
  "rgb": {
    "r": 31,
    "g": 155,
    "b": 72
  },
  "hsl": {
    "h": 139.839,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60612,
    "c": 0.15975,
    "h": 149
  },
  "luminance": 0.24202
}

Semantic roles & 50–950 ramp

primary
#1F9B48
secondary
#C1559D
accent
#3EB1EA
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#09120A
muted
#7B817C

Preview Lab

Preview with #1F9B48

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

Preview Lab → · Contrast checker → · Palette generator →

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