#1F893F#1F893F

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

Color values

HEX#1F893F
RGBrgb(31, 137, 63)
HSLhsl(138, 63%, 33%)
HSVhsv(138, 77%, 54%)
CMYKcmyk(77.4%, 0%, 54%, 46.3%)
CIE-LABlab(50.15, -45.90, 31.22)
CIE-LCHlch(50.15, 55.52, 145.78°)
OKLaboklab(55.48% -0.1234 0.0752)
OKLCHoklch(55.48% 0.145 148.6)
XYZxyz(10.4071, 18.5403, 7.7318)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F893F #891F69
analogous
#34891F #1F893F #1F8974
triadic
#1F893F #3F1F89 #893F1F
tetradic
#1F893F #1F3489 #891F69 #89741F
square
#1F893F #1F3489 #891F69 #89741F
split-complementary
#1F893F #741F89 #891F34
monochromatic
#082511 #145728 #1F893F #2ABB56 #4CD676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F893F#FFFFFF#000000##000000
##1F893F1.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)
#8A7C38
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#008678
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f893f;
/* rgb */ color: rgb(31, 137, 63);
/* oklch */ color: oklch(55.5% 0.145 148.6);
Tailwind
colors: {
  custom: {
    50: '#6dac76',
    500: '#1f893f',
    950: '#000000',
  },
}
SCSS
$custom: #1f893f;
$custom-light: #6dac76;
$custom-dark: #000000;
JSON
{
  "hex": "#1f893f",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 63
  },
  "hsl": {
    "h": 138.113,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.14454,
    "h": 148.6
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#1F893F
secondary
#B94B98
accent
#42B4E6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #1F893F

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

Preview Lab → · Contrast checker → · Palette generator →

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