#1F4530#1F4530

#1F4530 is a dark, muted green. Relative luminance 0.048; OKLCH L 35.6% C 0.057 H 157.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#1F4530
RGBrgb(31, 69, 48)
HSLhsl(147, 38%, 20%)
HSVhsv(147, 55%, 27%)
CMYKcmyk(55.1%, 0%, 30.4%, 72.9%)
CIE-LABlab(26.04, -19.32, 8.63)
CIE-LCHlch(26.04, 21.16, 155.94°)
OKLaboklab(35.56% -0.053 0.022)
OKLCHoklch(35.56% 0.057 157.5)
XYZxyz(3.2264, 4.7607, 3.5446)
Luminance0.0476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4530 #451F34
analogous
#21451F #1F4530 #1F4543
triadic
#1F4530 #301F45 #45301F
tetradic
#1F4530 #1F2145 #451F34 #45431F
square
#1F4530 #1F2145 #451F34 #45431F
split-complementary
#1F4530 #431F45 #451F21
monochromatic
#09150F #0C1B13 #1F4530 #326F4D #45996B

Accessibility & contrast

On white

10.76
#1F4530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1F4530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4530
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4530#FFFFFF#000000##FFFFFF
##1F45301.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402F
Deuteranopia (green-blind)
#3F3C31
Tritanopia (blue-blind)
#15453F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1f4530;
/* rgb */ color: rgb(31, 69, 48);
/* oklch */ color: oklch(35.6% 0.057 157.5);
Tailwind
colors: {
  custom: {
    50: '#5e7968',
    500: '#1f4530',
    950: '#000000',
  },
}
SCSS
$custom: #1f4530;
$custom-light: #5e7968;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4530",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 48
  },
  "hsl": {
    "h": 146.842,
    "s": 38,
    "l": 19.608
  },
  "oklch": {
    "l": 0.35563,
    "c": 0.05736,
    "h": 157.5
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#1F4530
secondary
#794663
accent
#5A9ACE
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1F4530

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

Preview Lab → · Contrast checker → · Palette generator →

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