#1F490D#1F490D

#1F490D is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.2% C 0.100 H 138.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#1F490D
RGBrgb(31, 73, 13)
HSLhsl(102, 70%, 17%)
HSVhsv(102, 82%, 29%)
CMYKcmyk(57.5%, 0%, 82.2%, 71.4%)
CIE-LABlab(26.98, -26.87, 29.55)
CIE-LCHlch(26.98, 39.94, 132.28°)
OKLaboklab(36.16% -0.0743 0.0665)
OKLCHoklch(36.16% 0.1 138.2)
XYZxyz(3.0202, 5.0852, 1.2031)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F490D #370D49
analogous
#3D490D #1F490D #0D4919
triadic
#1F490D #0D1F49 #490D1F
tetradic
#1F490D #0D3D49 #370D49 #49190D
square
#1F490D #0D3D49 #370D49 #49190D
split-complementary
#1F490D #190D49 #490D3D
monochromatic
#0B1A05 #0B1A05 #1F490D #357D16 #4BB120

Accessibility & contrast

On white

10.41
#1F490D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F490D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F490D#FFFFFF#000000##FFFFFF
##1F490D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4203
Deuteranopia (green-blind)
#463E13
Tritanopia (blue-blind)
#1C463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f490d;
/* rgb */ color: rgb(31, 73, 13);
/* oklch */ color: oklch(36.2% 0.100 138.2);
Tailwind
colors: {
  custom: {
    50: '#607c50',
    500: '#1f490d',
    950: '#000000',
  },
}
SCSS
$custom: #1f490d;
$custom-light: #607c50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f490d",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 13
  },
  "hsl": {
    "h": 102,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36156,
    "c": 0.09966,
    "h": 138.2
  },
  "luminance": 0.05085
}

Semantic roles & 50–950 ramp

primary
#1F490D
secondary
#6A2D84
accent
#3BEDB7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F490D

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

Preview Lab → · Contrast checker → · Palette generator →

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