#1F482D#1F482D

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

Color values

HEX#1F482D
RGBrgb(31, 72, 45)
HSLhsl(140, 40%, 20%)
HSVhsv(140, 57%, 28%)
CMYKcmyk(56.9%, 0%, 37.5%, 71.8%)
CIE-LABlab(27.06, -21.57, 11.93)
CIE-LCHlch(27.06, 24.65, 151.05°)
OKLaboklab(36.37% -0.0587 0.03)
OKLCHoklch(36.37% 0.066 152.9)
XYZxyz(3.3559, 5.1152, 3.2926)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F482D #481F3A
analogous
#25481F #1F482D #1F4841
triadic
#1F482D #2D1F48 #482D1F
tetradic
#1F482D #1F2548 #481F3A #48411F
square
#1F482D #1F2548 #481F3A #48411F
split-complementary
#1F482D #411F48 #481F25
monochromatic
#09150D #0D1D12 #1F482D #317348 #449E62

Accessibility & contrast

On white

10.38
#1F482D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F482D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F482D#FFFFFF#000000##FFFFFF
##1F482D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f482d;
/* rgb */ color: rgb(31, 72, 45);
/* oklch */ color: oklch(36.4% 0.066 152.9);
Tailwind
colors: {
  custom: {
    50: '#5e7b66',
    500: '#1f482d',
    950: '#000000',
  },
}
SCSS
$custom: #1f482d;
$custom-light: #5e7b66;
$custom-dark: #000000;
JSON
{
  "hex": "#1f482d",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 45
  },
  "hsl": {
    "h": 140.488,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36371,
    "c": 0.06594,
    "h": 152.9
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#1F482D
secondary
#7D466A
accent
#58A7D0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040905
muted
#797B7A

Preview Lab

Preview with #1F482D

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

Preview Lab → · Contrast checker → · Palette generator →

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