#1F892B#1F892B

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

Color values

HEX#1F892B
RGBrgb(31, 137, 43)
HSLhsl(127, 63%, 33%)
HSVhsv(127, 77%, 54%)
CMYKcmyk(77.4%, 0%, 68.6%, 46.3%)
CIE-LABlab(49.92, -48.54, 40.62)
CIE-LCHlch(49.92, 63.30, 140.08°)
OKLaboklab(55.23% -0.1312 0.0938)
OKLCHoklch(55.23% 0.161 144.4)
XYZxyz(9.9461, 18.3559, 5.3039)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F892B #891F7D
analogous
#48891F #1F892B #1F8960
triadic
#1F892B #2B1F89 #892B1F
tetradic
#1F892B #1F4889 #891F7D #89601F
square
#1F892B #1F4889 #891F7D #89601F
split-complementary
#1F892B #601F89 #891F48
monochromatic
#08250C #14571B #1F892B #2ABB3B #4CD65C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F892B#FFFFFF#000000##000000
##1F892B1.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)
#8C7C1E
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#008576
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #1f892b;
/* rgb */ color: rgb(31, 137, 43);
/* oklch */ color: oklch(55.2% 0.161 144.4);
Tailwind
colors: {
  custom: {
    50: '#6dac69',
    500: '#1f892b',
    950: '#000000',
  },
}
SCSS
$custom: #1f892b;
$custom-light: #6dac69;
$custom-dark: #000000;
JSON
{
  "hex": "#1f892b",
  "rgb": {
    "r": 31,
    "g": 137,
    "b": 43
  },
  "hsl": {
    "h": 126.792,
    "s": 63.095,
    "l": 32.941
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.16126,
    "h": 144.4
  },
  "luminance": 0.18357
}

Semantic roles & 50–950 ramp

primary
#1F892B
secondary
#B94BAD
accent
#42D4E6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1F892B

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

Preview Lab → · Contrast checker → · Palette generator →

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