#1F892A#1F892A

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

Color values

HEX#1F892A
RGBrgb(31, 137, 42)
HSLhsl(126, 63%, 33%)
HSVhsv(126, 77%, 54%)
CMYKcmyk(77.4%, 0%, 69.3%, 46.3%)
CIE-LABlab(49.92, -48.65, 41.05)
CIE-LCHlch(49.92, 63.65, 139.84°)
OKLaboklab(55.22% -0.1315 0.0946)
OKLCHoklch(55.22% 0.162 144.3)
XYZxyz(9.9280, 18.3486, 5.2085)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F892A #891F7E
analogous
#49891F #1F892A #1F895F
triadic
#1F892A #2A1F89 #892A1F
tetradic
#1F892A #1F4989 #891F7E #895F1F
square
#1F892A #1F4989 #891F7E #895F1F
split-complementary
#1F892A #5F1F89 #891F49
monochromatic
#08250B #14571B #1F892A #2ABB39 #4CD65A

Accessibility & contrast

On white

4.50
#1F892A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F892A#FFFFFF#000000##000000
##1F892A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f892a;
/* rgb */ color: rgb(31, 137, 42);
/* oklch */ color: oklch(55.2% 0.162 144.3);
Tailwind
colors: {
  custom: {
    50: '#6dac68',
    500: '#1f892a',
    950: '#000000',
  },
}
SCSS
$custom: #1f892a;
$custom-light: #6dac68;
$custom-dark: #000000;
JSON
{
  "hex": "#1f892a",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 42
  },
  "hsl": {
    "h": 126.226,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.16199,
    "h": 144.3
  },
  "luminance": 0.1835
}

Semantic roles & 50–950 ramp

primary
#1F892A
secondary
#B94BAE
accent
#42D5E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F892A

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

Preview Lab → · Contrast checker → · Palette generator →

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