#1F893A#1F893A

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

Color values

HEX#1F893A
RGBrgb(31, 137, 58)
HSLhsl(135, 63%, 33%)
HSVhsv(135, 77%, 54%)
CMYKcmyk(77.4%, 0%, 57.7%, 46.3%)
CIE-LABlab(50.08, -46.66, 33.70)
CIE-LCHlch(50.08, 57.56, 144.16°)
OKLaboklab(55.41% -0.1255 0.0804)
OKLCHoklch(55.41% 0.149 147.4)
XYZxyz(10.2737, 18.4869, 7.0290)
Luminance0.1849 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F893A #891F6E
analogous
#39891F #1F893A #1F896F
triadic
#1F893A #3A1F89 #893A1F
tetradic
#1F893A #1F3989 #891F6E #896F1F
square
#1F893A #1F3989 #891F6E #896F1F
split-complementary
#1F893A #6F1F89 #891F39
monochromatic
#082510 #145725 #1F893A #2ABB4F #4CD66F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F893A#FFFFFF#000000##000000
##1F893A1.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)
#8B7C32
Deuteranopia (green-blind)
#7F7440
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f893a;
/* rgb */ color: rgb(31, 137, 58);
/* oklch */ color: oklch(55.4% 0.149 147.4);
Tailwind
colors: {
  custom: {
    50: '#6dac72',
    500: '#1f893a',
    950: '#000000',
  },
}
SCSS
$custom: #1f893a;
$custom-light: #6dac72;
$custom-dark: #000000;
JSON
{
  "hex": "#1f893a",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 58
  },
  "hsl": {
    "h": 135.283,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.14905,
    "h": 147.4
  },
  "luminance": 0.18488
}

Semantic roles & 50–950 ramp

primary
#1F893A
secondary
#B94B9D
accent
#42BCE6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F893A

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

Preview Lab → · Contrast checker → · Palette generator →

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