#1F893E#1F893E

#1F893E is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.5% C 0.145 H 148.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#1F893E
RGBrgb(31, 137, 62)
HSLhsl(138, 63%, 33%)
HSVhsv(138, 77%, 54%)
CMYKcmyk(77.4%, 0%, 54.7%, 46.3%)
CIE-LABlab(50.13, -46.06, 31.72)
CIE-LCHlch(50.13, 55.93, 145.44°)
OKLaboklab(55.47% -0.1238 0.0763)
OKLCHoklch(55.47% 0.145 148.4)
XYZxyz(10.3794, 18.5292, 7.5860)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F893E #891F6A
analogous
#35891F #1F893E #1F8973
triadic
#1F893E #3E1F89 #893E1F
tetradic
#1F893E #1F3589 #891F6A #89731F
square
#1F893E #1F3589 #891F6A #89731F
split-complementary
#1F893E #731F89 #891F35
monochromatic
#082511 #145727 #1F893E #2ABB55 #4CD674

Accessibility & contrast

On white

4.46
#1F893E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#1F893E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F893E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F893E#FFFFFF#000000##000000
##1F893E1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f893e;
/* rgb */ color: rgb(31, 137, 62);
/* oklch */ color: oklch(55.5% 0.145 148.4);
Tailwind
colors: {
  custom: {
    50: '#6dac75',
    500: '#1f893e',
    950: '#000000',
  },
}
SCSS
$custom: #1f893e;
$custom-light: #6dac75;
$custom-dark: #000000;
JSON
{
  "hex": "#1f893e",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 62
  },
  "hsl": {
    "h": 137.547,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.14545,
    "h": 148.4
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#1F893E
secondary
#B94B99
accent
#42B6E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F893E

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

Preview Lab → · Contrast checker → · Palette generator →

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