#1F482B#1F482B

#1F482B is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.3% C 0.068 H 151.2°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1F482B
RGBrgb(31, 72, 43)
HSLhsl(138, 40%, 20%)
HSVhsv(138, 57%, 28%)
CMYKcmyk(56.9%, 0%, 40.3%, 71.8%)
CIE-LABlab(27.02, -22.01, 13.13)
CIE-LCHlch(27.02, 25.63, 149.17°)
OKLaboklab(36.32% -0.0598 0.0329)
OKLCHoklch(36.32% 0.068 151.2)
XYZxyz(3.3183, 5.1002, 3.0946)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F482B #481F3C
analogous
#27481F #1F482B #1F483F
triadic
#1F482B #2B1F48 #482B1F
tetradic
#1F482B #1F2748 #481F3C #483F1F
square
#1F482B #1F2748 #481F3C #483F1F
split-complementary
#1F482B #3F1F48 #481F27
monochromatic
#09150D #0D1D11 #1F482B #317345 #449E5E

Accessibility & contrast

On white

10.40
#1F482B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F482B
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F482B#FFFFFF#000000##FFFFFF
##1F482B1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484229
Deuteranopia (green-blind)
#423E2D
Tritanopia (blue-blind)
#164741
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f482b;
/* rgb */ color: rgb(31, 72, 43);
/* oklch */ color: oklch(36.3% 0.068 151.2);
Tailwind
colors: {
  custom: {
    50: '#5e7b64',
    500: '#1f482b',
    950: '#000000',
  },
}
SCSS
$custom: #1f482b;
$custom-light: #5e7b64;
$custom-dark: #000000;
JSON
{
  "hex": "#1f482b",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 43
  },
  "hsl": {
    "h": 137.561,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36323,
    "c": 0.06823,
    "h": 151.2
  },
  "luminance": 0.051
}

Semantic roles & 50–950 ramp

primary
#1F482B
secondary
#7D466D
accent
#58ADD0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#050905
muted
#797B7A

Preview Lab

Preview with #1F482B

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

Preview Lab → · Contrast checker → · Palette generator →

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