#1F5710#1F5710

#1F5710 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.117 H 140.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F5710
RGBrgb(31, 87, 16)
HSLhsl(107, 69%, 20%)
HSVhsv(107, 82%, 34%)
CMYKcmyk(64.4%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.13, -32.60, 33.45)
CIE-LCHlch(32.13, 46.70, 134.26°)
OKLaboklab(40.42% -0.0895 0.0751)
OKLCHoklch(40.42% 0.117 140)
XYZxyz(4.0666, 7.1447, 1.6549)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F5710 #481057
analogous
#425710 #1F5710 #105724
triadic
#1F5710 #101F57 #57101F
tetradic
#1F5710 #104257 #481057 #572410
square
#1F5710 #104257 #481057 #572410
split-complementary
#1F5710 #241057 #571042
monochromatic
#091A05 #0D2306 #1F5710 #318B1A #44BE23

Accessibility & contrast

On white

8.65
#1F5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F5710
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F5710#FFFFFF#000000##FFFFFF
##1F57101.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E03
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#185449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f5710;
/* rgb */ color: rgb(31, 87, 16);
/* oklch */ color: oklch(40.4% 0.117 140.0);
Tailwind
colors: {
  custom: {
    50: '#638754',
    500: '#1f5710',
    950: '#000000',
  },
}
SCSS
$custom: #1f5710;
$custom-light: #638754;
$custom-dark: #000000;
JSON
{
  "hex": "#1f5710",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 107.324,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.11681,
    "h": 140
  },
  "luminance": 0.07145
}

Semantic roles & 50–950 ramp

primary
#1F5710
secondary
#7D3290
accent
#3CECC7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F5710

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

Preview Lab → · Contrast checker → · Palette generator →

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