#1F4E35#1F4E35

#1F4E35 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.067 H 157.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1F4E35
RGBrgb(31, 78, 53)
HSLhsl(148, 43%, 21%)
HSVhsv(148, 60%, 31%)
CMYKcmyk(60.3%, 0%, 32.1%, 69.4%)
CIE-LABlab(29.40, -22.79, 10.08)
CIE-LCHlch(29.40, 24.92, 156.13°)
OKLaboklab(38.35% -0.0623 0.0256)
OKLCHoklch(38.35% 0.067 157.7)
XYZxyz(3.9317, 5.9968, 4.3178)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4E35 #4E1F38
analogous
#214E1F #1F4E35 #1F4E4D
triadic
#1F4E35 #351F4E #4E351F
tetradic
#1F4E35 #1F214E #4E1F38 #4E4D1F
square
#1F4E35 #1F214E #4E1F38 #4E4D1F
split-complementary
#1F4E35 #4D1F4E #4E1F21
monochromatic
#09160F #0E2217 #1F4E35 #307A53 #42A671

Accessibility & contrast

On white

9.55
#1F4E35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1F4E35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4E35
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4E35#FFFFFF#000000##FFFFFF
##1F4E351.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4834
Deuteranopia (green-blind)
#474337
Tritanopia (blue-blind)
#104D47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1f4e35;
/* rgb */ color: rgb(31, 78, 53);
/* oklch */ color: oklch(38.3% 0.067 157.7);
Tailwind
colors: {
  custom: {
    50: '#5f806c',
    500: '#1f4e35',
    950: '#000000',
  },
}
SCSS
$custom: #1f4e35;
$custom-light: #5f806c;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4e35",
  "rgb": {
    "r": 31,
    "g": 78,
    "b": 53
  },
  "hsl": {
    "h": 148.085,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.38345,
    "c": 0.06735,
    "h": 157.7
  },
  "luminance": 0.05997
}

Semantic roles & 50–950 ramp

primary
#1F4E35
secondary
#834666
accent
#5598D3
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050A07
muted
#797C7A

Preview Lab

Preview with #1F4E35

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

Preview Lab → · Contrast checker → · Palette generator →

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