#1F490C#1F490C

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

Color values

HEX#1F490C
RGBrgb(31, 73, 12)
HSLhsl(101, 72%, 17%)
HSVhsv(101, 84%, 29%)
CMYKcmyk(57.5%, 0%, 83.6%, 71.4%)
CIE-LABlab(26.97, -26.95, 29.95)
CIE-LCHlch(26.97, 40.29, 131.98°)
OKLaboklab(36.15% -0.0745 0.0671)
OKLCHoklch(36.15% 0.1 138)
XYZxyz(3.0139, 5.0827, 1.1700)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F490C #360C49
analogous
#3E490C #1F490C #0C4917
triadic
#1F490C #0C1F49 #490C1F
tetradic
#1F490C #0C3E49 #360C49 #49170C
square
#1F490C #0C3E49 #360C49 #49170C
split-complementary
#1F490C #170C49 #490C3E
monochromatic
#0B1A04 #0B1A04 #1F490C #357E15 #4CB21D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #1f490c;
/* rgb */ color: rgb(31, 73, 12);
/* oklch */ color: oklch(36.1% 0.100 138.0);
Tailwind
colors: {
  custom: {
    50: '#607c50',
    500: '#1f490c',
    950: '#000000',
  },
}
SCSS
$custom: #1f490c;
$custom-light: #607c50;
$custom-dark: #000000;
JSON
{
  "hex": "#1f490c",
  "rgb": {
    "r": 31,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 101.311,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36148,
    "c": 0.10032,
    "h": 138
  },
  "luminance": 0.05083
}

Semantic roles & 50–950 ramp

primary
#1F490C
secondary
#692C85
accent
#39EEB6
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F490C

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

Preview Lab → · Contrast checker → · Palette generator →

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