#1F5410#1F5410

#1F5410 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.113 H 139.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#1F5410
RGBrgb(31, 84, 16)
HSLhsl(107, 68%, 20%)
HSVhsv(107, 81%, 33%)
CMYKcmyk(63.1%, 0%, 81%, 67.1%)
CIE-LABlab(31.04, -31.36, 32.37)
CIE-LCHlch(31.04, 45.07, 134.10°)
OKLaboklab(39.52% -0.0862 0.0728)
OKLCHoklch(39.52% 0.113 139.8)
XYZxyz(3.8288, 6.6690, 1.5756)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5410 #451054
analogous
#415410 #1F5410 #105423
triadic
#1F5410 #101F54 #54101F
tetradic
#1F5410 #104154 #451054 #542310
square
#1F5410 #104154 #451054 #542310
split-complementary
#1F5410 #231054 #541041
monochromatic
#091A05 #0C2106 #1F5410 #32871A #45BB24

Accessibility & contrast

On white

9.00
#1F5410 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#1F5410 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5410
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5410#FFFFFF#000000##FFFFFF
##1F54101.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#504717
Tritanopia (blue-blind)
#195147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #1f5410;
/* rgb */ color: rgb(31, 84, 16);
/* oklch */ color: oklch(39.5% 0.113 139.8);
Tailwind
colors: {
  custom: {
    50: '#628554',
    500: '#1f5410',
    950: '#000000',
  },
}
SCSS
$custom: #1f5410;
$custom-light: #628554;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5410",
  "rgb": {
    "r": 31,
    "g": 84,
    "b": 16
  },
  "hsl": {
    "h": 106.765,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.11281,
    "h": 139.8
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#1F5410
secondary
#79328E
accent
#3DEBC4
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#050B03
muted
#7A7C78

Preview Lab

Preview with #1F5410

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

Preview Lab → · Contrast checker → · Palette generator →

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