#1F490B#1F490B

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

Color values

HEX#1F490B
RGBrgb(31, 73, 11)
HSLhsl(101, 74%, 16%)
HSVhsv(101, 85%, 29%)
CMYKcmyk(57.5%, 0%, 84.9%, 71.4%)
CIE-LABlab(26.96, -27.03, 30.34)
CIE-LCHlch(26.96, 40.63, 131.70°)
OKLaboklab(36.14% -0.0748 0.0678)
OKLCHoklch(36.14% 0.101 137.8)
XYZxyz(3.0079, 5.0803, 1.1386)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F490B #350B49
analogous
#3E490B #1F490B #0B4916
triadic
#1F490B #0B1F49 #490B1F
tetradic
#1F490B #0B3E49 #350B49 #49160B
square
#1F490B #0B3E49 #350B49 #49160B
split-complementary
#1F490B #160B49 #490B3E
monochromatic
#0B1B04 #0B1B04 #1F490B #367E13 #4CB31B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F490B#FFFFFF#000000##FFFFFF
##1F490B1.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)
#4C4201
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#1C463D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1f490b;
/* rgb */ color: rgb(31, 73, 11);
/* oklch */ color: oklch(36.1% 0.101 137.8);
Tailwind
colors: {
  custom: {
    50: '#607c4f',
    500: '#1f490b',
    950: '#000000',
  },
}
SCSS
$custom: #1f490b;
$custom-light: #607c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#1f490b",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 11
  },
  "hsl": {
    "h": 100.645,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.3614,
    "c": 0.10094,
    "h": 137.8
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#1F490B
secondary
#682A85
accent
#37F0B5
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F490B

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

Preview Lab → · Contrast checker → · Palette generator →

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