#1F552D#1F552D

#1F552D is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.2% C 0.088 H 149.3°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#1F552D
RGBrgb(31, 85, 45)
HSLhsl(136, 47%, 23%)
HSVhsv(136, 64%, 33%)
CMYKcmyk(63.5%, 0%, 47.1%, 66.7%)
CIE-LABlab(31.76, -27.86, 18.13)
CIE-LCHlch(31.76, 33.24, 146.95°)
OKLaboklab(40.22% -0.0754 0.0447)
OKLCHoklch(40.22% 0.088 149.3)
XYZxyz(4.2869, 6.9774, 3.6030)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F552D #551F47
analogous
#2C551F #1F552D #1F5548
triadic
#1F552D #2D1F55 #552D1F
tetradic
#1F552D #1F2C55 #551F47 #55481F
square
#1F552D #1F2C55 #551F47 #55481F
split-complementary
#1F552D #481F55 #551F2C
monochromatic
#08160C #0F2815 #1F552D #2F8245 #40AF5C

Accessibility & contrast

On white

8.77
#1F552D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1F552D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F552D
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F552D#FFFFFF#000000##FFFFFF
##1F552D1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2A
Deuteranopia (green-blind)
#4F4930
Tritanopia (blue-blind)
#11534B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1f552d;
/* rgb */ color: rgb(31, 85, 45);
/* oklch */ color: oklch(40.2% 0.088 149.3);
Tailwind
colors: {
  custom: {
    50: '#618566',
    500: '#1f552d',
    950: '#000000',
  },
}
SCSS
$custom: #1f552d;
$custom-light: #618566;
$custom-dark: #000000;
JSON
{
  "hex": "#1f552d",
  "rgb": {
    "r": 31,
    "g": 85,
    "b": 45
  },
  "hsl": {
    "h": 135.556,
    "s": 46.552,
    "l": 22.745
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.0876,
    "h": 149.3
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#1F552D
secondary
#8A4678
accent
#52B4D6
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1F552D

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

Preview Lab → · Contrast checker → · Palette generator →

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