#1F893D#1F893D

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

Color values

HEX#1F893D
RGBrgb(31, 137, 61)
HSLhsl(137, 63%, 33%)
HSVhsv(137, 77%, 54%)
CMYKcmyk(77.4%, 0%, 55.5%, 46.3%)
CIE-LABlab(50.12, -46.21, 32.22)
CIE-LCHlch(50.12, 56.34, 145.11°)
OKLaboklab(55.46% -0.1243 0.0773)
OKLCHoklch(55.46% 0.146 148.1)
XYZxyz(10.3522, 18.5183, 7.4428)
Luminance0.1852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F893D #891F6B
analogous
#36891F #1F893D #1F8972
triadic
#1F893D #3D1F89 #893D1F
tetradic
#1F893D #1F3689 #891F6B #89721F
square
#1F893D #1F3689 #891F6B #89721F
split-complementary
#1F893D #721F89 #891F36
monochromatic
#082511 #145727 #1F893D #2ABB53 #4CD673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F893D#FFFFFF#000000##000000
##1F893D1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f893d;
/* rgb */ color: rgb(31, 137, 61);
/* oklch */ color: oklch(55.5% 0.146 148.1);
Tailwind
colors: {
  custom: {
    50: '#6dac74',
    500: '#1f893d',
    950: '#000000',
  },
}
SCSS
$custom: #1f893d;
$custom-light: #6dac74;
$custom-dark: #000000;
JSON
{
  "hex": "#1f893d",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 61
  },
  "hsl": {
    "h": 136.981,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55455,
    "c": 0.14636,
    "h": 148.1
  },
  "luminance": 0.1852
}

Semantic roles & 50–950 ramp

primary
#1F893D
secondary
#B94B9A
accent
#42B8E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F893D

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

Preview Lab → · Contrast checker → · Palette generator →

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