#1F490A#1F490A

#1F490A is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.102 H 137.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#1F490A
RGBrgb(31, 73, 10)
HSLhsl(100, 76%, 16%)
HSVhsv(100, 86%, 29%)
CMYKcmyk(57.5%, 0%, 86.3%, 71.4%)
CIE-LABlab(26.96, -27.10, 30.71)
CIE-LCHlch(26.96, 40.96, 131.43°)
OKLaboklab(36.13% -0.0751 0.0684)
OKLCHoklch(36.13% 0.102 137.7)
XYZxyz(3.0023, 5.0781, 1.1091)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F490A #340A49
analogous
#3F490A #1F490A #0A4915
triadic
#1F490A #0A1F49 #490A1F
tetradic
#1F490A #0A3F49 #340A49 #49150A
square
#1F490A #0A3F49 #340A49 #49150A
split-complementary
#1F490A #150A49 #490A3F
monochromatic
#0B1B04 #0B1B04 #1F490A #367F11 #4DB519

Accessibility & contrast

On white

10.42
#1F490A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F490A
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F490A#FFFFFF#000000##FFFFFF
##1F490A1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1f490a;
/* rgb */ color: rgb(31, 73, 10);
/* oklch */ color: oklch(36.1% 0.102 137.7);
Tailwind
colors: {
  custom: {
    50: '#607c4f',
    500: '#1f490a',
    950: '#000000',
  },
}
SCSS
$custom: #1f490a;
$custom-light: #607c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f490a",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 10
  },
  "hsl": {
    "h": 100,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.10155,
    "h": 137.7
  },
  "luminance": 0.05078
}

Semantic roles & 50–950 ramp

primary
#1F490A
secondary
#672986
accent
#35F2B3
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F490A

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

Preview Lab → · Contrast checker → · Palette generator →

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