#1F892D#1F892D

#1F892D is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.3% C 0.160 H 144.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#1F892D
RGBrgb(31, 137, 45)
HSLhsl(128, 63%, 33%)
HSVhsv(128, 77%, 54%)
CMYKcmyk(77.4%, 0%, 67.2%, 46.3%)
CIE-LABlab(49.94, -48.32, 39.75)
CIE-LCHlch(49.94, 62.57, 140.56°)
OKLaboklab(55.25% -0.1305 0.0922)
OKLCHoklch(55.25% 0.16 144.8)
XYZxyz(9.9837, 18.3709, 5.5019)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F892D #891F7B
analogous
#46891F #1F892D #1F8962
triadic
#1F892D #2D1F89 #892D1F
tetradic
#1F892D #1F4689 #891F7B #89621F
square
#1F892D #1F4689 #891F7B #89621F
split-complementary
#1F892D #621F89 #891F46
monochromatic
#08250C #14571D #1F892D #2ABB3D #4CD65E

Accessibility & contrast

On white

4.49
#1F892D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#1F892D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #1F892D
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F892D#FFFFFF#000000##000000
##1F892D1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C21
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f892d;
/* rgb */ color: rgb(31, 137, 45);
/* oklch */ color: oklch(55.3% 0.160 144.8);
Tailwind
colors: {
  custom: {
    50: '#6dac6a',
    500: '#1f892d',
    950: '#000000',
  },
}
SCSS
$custom: #1f892d;
$custom-light: #6dac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f892d",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 45
  },
  "hsl": {
    "h": 127.925,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.15978,
    "h": 144.8
  },
  "luminance": 0.18372
}

Semantic roles & 50–950 ramp

primary
#1F892D
secondary
#B94BAB
accent
#42D0E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F892D

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

Preview Lab → · Contrast checker → · Palette generator →

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