#1F480D#1F480D

#1F480D is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.098 H 138.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1F480D
RGBrgb(31, 72, 13)
HSLhsl(102, 69%, 17%)
HSVhsv(102, 82%, 28%)
CMYKcmyk(56.9%, 0%, 81.9%, 71.8%)
CIE-LABlab(26.61, -26.43, 29.18)
CIE-LCHlch(26.61, 39.37, 132.16°)
OKLaboklab(35.85% -0.073 0.0657)
OKLCHoklch(35.85% 0.098 138)
XYZxyz(2.9550, 4.9549, 1.1814)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F480D #360D48
analogous
#3D480D #1F480D #0D4819
triadic
#1F480D #0D1F48 #480D1F
tetradic
#1F480D #0D3D48 #360D48 #48190D
square
#1F480D #0D3D48 #360D48 #48190D
split-complementary
#1F480D #190D48 #480D3D
monochromatic
#0B1A05 #0B1A05 #1F480D #357C16 #4CB020

Accessibility & contrast

On white

10.55
#1F480D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1F480D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F480D
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F480D#FFFFFF#000000##FFFFFF
##1F480D1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4104
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#1C453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1f480d;
/* rgb */ color: rgb(31, 72, 13);
/* oklch */ color: oklch(35.9% 0.098 138.0);
Tailwind
colors: {
  custom: {
    50: '#607b50',
    500: '#1f480d',
    950: '#000000',
  },
}
SCSS
$custom: #1f480d;
$custom-light: #607b50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f480d",
  "rgb": {
    "r": 31,
    "g": 72,
    "b": 13
  },
  "hsl": {
    "h": 101.695,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.09824,
    "h": 138
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#1F480D
secondary
#692D83
accent
#3CECB6
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F480D

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

Preview Lab → · Contrast checker → · Palette generator →

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