#1F892C#1F892C

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

Color values

HEX#1F892C
RGBrgb(31, 137, 44)
HSLhsl(127, 63%, 33%)
HSVhsv(127, 77%, 54%)
CMYKcmyk(77.4%, 0%, 67.9%, 46.3%)
CIE-LABlab(49.93, -48.43, 40.19)
CIE-LCHlch(49.93, 62.94, 140.31°)
OKLaboklab(55.24% -0.1308 0.093)
OKLCHoklch(55.24% 0.161 144.6)
XYZxyz(9.9647, 18.3633, 5.4017)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F892C #891F7C
analogous
#47891F #1F892C #1F8961
triadic
#1F892C #2C1F89 #892C1F
tetradic
#1F892C #1F4789 #891F7C #89611F
square
#1F892C #1F4789 #891F7C #89611F
split-complementary
#1F892C #611F89 #891F47
monochromatic
#08250C #14571C #1F892C #2ABB3C #4CD65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F892C#FFFFFF#000000##000000
##1F892C1.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)
#8C7C20
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f892c;
/* rgb */ color: rgb(31, 137, 44);
/* oklch */ color: oklch(55.2% 0.161 144.6);
Tailwind
colors: {
  custom: {
    50: '#6dac6a',
    500: '#1f892c',
    950: '#000000',
  },
}
SCSS
$custom: #1f892c;
$custom-light: #6dac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#1f892c",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 44
  },
  "hsl": {
    "h": 127.358,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55242,
    "c": 0.16052,
    "h": 144.6
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#1F892C
secondary
#B94BAC
accent
#42D2E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #1F892C

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

Preview Lab → · Contrast checker → · Palette generator →

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