#1F542E#1F542E

#1F542E is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.9% C 0.085 H 150.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#1F542E
RGBrgb(31, 84, 46)
HSLhsl(137, 46%, 23%)
HSVhsv(137, 63%, 33%)
CMYKcmyk(63.1%, 0%, 45.2%, 67.1%)
CIE-LABlab(31.41, -27.21, 17.09)
CIE-LCHlch(31.41, 32.13, 147.87°)
OKLaboklab(39.94% -0.0736 0.0423)
OKLCHoklch(39.94% 0.085 150.1)
XYZxyz(4.2282, 6.8288, 3.6795)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F542E #541F45
analogous
#2B541F #1F542E #1F5448
triadic
#1F542E #2E1F54 #542E1F
tetradic
#1F542E #1F2B54 #541F45 #54481F
square
#1F542E #1F2B54 #541F45 #54481F
split-complementary
#1F542E #481F54 #541F2B
monochromatic
#08160C #0F2716 #1F542E #2F8146 #40AD5F

Accessibility & contrast

On white

8.88
#1F542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1F542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F542E
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F542E#FFFFFF#000000##FFFFFF
##1F542E1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2B
Deuteranopia (green-blind)
#4D4830
Tritanopia (blue-blind)
#11534B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1f542e;
/* rgb */ color: rgb(31, 84, 46);
/* oklch */ color: oklch(39.9% 0.085 150.1);
Tailwind
colors: {
  custom: {
    50: '#618567',
    500: '#1f542e',
    950: '#000000',
  },
}
SCSS
$custom: #1f542e;
$custom-light: #618567;
$custom-dark: #000000;
JSON
{
  "hex": "#1f542e",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 136.981,
    "s": 46.087,
    "l": 22.549
  },
  "oklch": {
    "l": 0.39943,
    "c": 0.0849,
    "h": 150.1
  },
  "luminance": 0.06829
}

Semantic roles & 50–950 ramp

primary
#1F542E
secondary
#894676
accent
#52B0D6
background
#F5F8F6
surface
#EAEFEB
border
#C6CAC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #1F542E

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

Preview Lab → · Contrast checker → · Palette generator →

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