#1F482F#1F482F

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

Color values

HEX#1F482F
RGBrgb(31, 72, 47)
HSLhsl(143, 40%, 20%)
HSVhsv(143, 57%, 28%)
CMYKcmyk(56.9%, 0%, 34.7%, 71.8%)
CIE-LABlab(27.10, -21.13, 10.73)
CIE-LCHlch(27.10, 23.69, 153.08°)
OKLaboklab(36.42% -0.0576 0.0271)
OKLCHoklch(36.42% 0.064 154.8)
XYZxyz(3.3953, 5.1310, 3.5002)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F482F #481F38
analogous
#23481F #1F482F #1F4844
triadic
#1F482F #2F1F48 #482F1F
tetradic
#1F482F #1F2348 #481F38 #48441F
square
#1F482F #1F2348 #481F38 #48441F
split-complementary
#1F482F #441F48 #481F23
monochromatic
#09150E #0D1D13 #1F482F #31734B #449E67

Accessibility & contrast

On white

10.36
#1F482F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#1F482F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F482F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F482F#FFFFFF#000000##FFFFFF
##1F482F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48432D
Deuteranopia (green-blind)
#423E31
Tritanopia (blue-blind)
#144741
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f482f;
/* rgb */ color: rgb(31, 72, 47);
/* oklch */ color: oklch(36.4% 0.064 154.8);
Tailwind
colors: {
  custom: {
    50: '#5e7b67',
    500: '#1f482f',
    950: '#000000',
  },
}
SCSS
$custom: #1f482f;
$custom-light: #5e7b67;
$custom-dark: #000000;
JSON
{
  "hex": "#1f482f",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 47
  },
  "hsl": {
    "h": 143.415,
    "s": 39.806,
    "l": 20.196
  },
  "oklch": {
    "l": 0.36422,
    "c": 0.06369,
    "h": 154.8
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#1F482F
secondary
#7D4667
accent
#58A1D0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040906
muted
#797B7A

Preview Lab

Preview with #1F482F

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

Preview Lab → · Contrast checker → · Palette generator →

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