#1F893B#1F893B

#1F893B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.148 H 147.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#1F893B
RGBrgb(31, 137, 59)
HSLhsl(136, 63%, 33%)
HSVhsv(136, 77%, 54%)
CMYKcmyk(77.4%, 0%, 56.9%, 46.3%)
CIE-LABlab(50.09, -46.51, 33.21)
CIE-LCHlch(50.09, 57.15, 144.47°)
OKLaboklab(55.43% -0.1251 0.0794)
OKLCHoklch(55.43% 0.148 147.6)
XYZxyz(10.2994, 18.4972, 7.1643)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F893B #891F6D
analogous
#38891F #1F893B #1F8970
triadic
#1F893B #3B1F89 #893B1F
tetradic
#1F893B #1F3889 #891F6D #89701F
square
#1F893B #1F3889 #891F6D #89701F
split-complementary
#1F893B #701F89 #891F38
monochromatic
#082510 #145726 #1F893B #2ABB50 #4CD671

Accessibility & contrast

On white

4.47
#1F893B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#1F893B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F893B
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F893B#FFFFFF#000000##000000
##1F893B1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C34
Deuteranopia (green-blind)
#7E7441
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f893b;
/* rgb */ color: rgb(31, 137, 59);
/* oklch */ color: oklch(55.4% 0.148 147.6);
Tailwind
colors: {
  custom: {
    50: '#6dac73',
    500: '#1f893b',
    950: '#000000',
  },
}
SCSS
$custom: #1f893b;
$custom-light: #6dac73;
$custom-dark: #000000;
JSON
{
  "hex": "#1f893b",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 59
  },
  "hsl": {
    "h": 135.849,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55426,
    "c": 0.14816,
    "h": 147.6
  },
  "luminance": 0.18498
}

Semantic roles & 50–950 ramp

primary
#1F893B
secondary
#B94B9C
accent
#42BBE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F893B

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

Preview Lab → · Contrast checker → · Palette generator →

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