#1F4510#1F4510

#1F4510 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.092 H 138.3°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#1F4510
RGBrgb(31, 69, 16)
HSLhsl(103, 62%, 17%)
HSVhsv(103, 77%, 27%)
CMYKcmyk(55.1%, 0%, 76.8%, 72.9%)
CIE-LABlab(25.52, -24.78, 26.73)
CIE-LCHlch(25.52, 36.45, 132.83°)
OKLaboklab(34.96% -0.0684 0.061)
OKLCHoklch(34.96% 0.092 138.3)
XYZxyz(2.7866, 4.5848, 1.2282)
Luminance0.0459 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F4510 #361045
analogous
#3A4510 #1F4510 #10451C
triadic
#1F4510 #101F45 #45101F
tetradic
#1F4510 #103A45 #361045 #451C10
square
#1F4510 #103A45 #361045 #451C10
split-complementary
#1F4510 #1C1045 #45103A
monochromatic
#0B1906 #0B1906 #1F4510 #35771C #4CA827

Accessibility & contrast

On white

10.95
#1F4510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1F4510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F4510
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F4510#FFFFFF#000000##FFFFFF
##1F45101.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E08
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#1C423A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1f4510;
/* rgb */ color: rgb(31, 69, 16);
/* oklch */ color: oklch(35.0% 0.092 138.3);
Tailwind
colors: {
  custom: {
    50: '#5f7951',
    500: '#1f4510',
    950: '#000000',
  },
}
SCSS
$custom: #1f4510;
$custom-light: #5f7951;
$custom-dark: #000000;
JSON
{
  "hex": "#1f4510",
  "rgb": {
    "r": 31,
    "g": 69,
    "b": 16
  },
  "hsl": {
    "h": 103.019,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34963,
    "c": 0.09164,
    "h": 138.3
  },
  "luminance": 0.04585
}

Semantic roles & 50–950 ramp

primary
#1F4510
secondary
#69327F
accent
#42E5B7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#050902
muted
#797B78

Preview Lab

Preview with #1F4510

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

Preview Lab → · Contrast checker → · Palette generator →

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