#1F482E#1F482E

#1F482E is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.4% C 0.065 H 153.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#1F482E
RGBrgb(31, 72, 46)
HSLhsl(142, 40%, 20%)
HSVhsv(142, 57%, 28%)
CMYKcmyk(56.9%, 0%, 36.1%, 71.8%)
CIE-LABlab(27.08, -21.35, 11.33)
CIE-LCHlch(27.08, 24.17, 152.05°)
OKLaboklab(36.4% -0.0582 0.0286)
OKLCHoklch(36.4% 0.065 153.8)
XYZxyz(3.3753, 5.1230, 3.3952)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F482E #481F39
analogous
#24481F #1F482E #1F4842
triadic
#1F482E #2E1F48 #482E1F
tetradic
#1F482E #1F2448 #481F39 #48421F
square
#1F482E #1F2448 #481F39 #48421F
split-complementary
#1F482E #421F48 #481F24
monochromatic
#09150E #0D1D13 #1F482E #317349 #449E65

Accessibility & contrast

On white

10.37
#1F482E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1F482E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F482E
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F482E#FFFFFF#000000##FFFFFF
##1F482E1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48422C
Deuteranopia (green-blind)
#423E30
Tritanopia (blue-blind)
#154741
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f482e;
/* rgb */ color: rgb(31, 72, 46);
/* oklch */ color: oklch(36.4% 0.065 153.8);
Tailwind
colors: {
  custom: {
    50: '#5e7b66',
    500: '#1f482e',
    950: '#000000',
  },
}
SCSS
$custom: #1f482e;
$custom-light: #5e7b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f482e",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 46
  },
  "hsl": {
    "h": 141.951,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.06481,
    "h": 153.8
  },
  "luminance": 0.05123
}

Semantic roles & 50–950 ramp

primary
#1F482E
secondary
#7D4669
accent
#58A4D0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1F482E

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

Preview Lab → · Contrast checker → · Palette generator →

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