#1F6340#1F6340

#1F6340 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.7% C 0.089 H 157.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#1F6340
RGBrgb(31, 99, 64)
HSLhsl(149, 52%, 25%)
HSVhsv(149, 69%, 39%)
CMYKcmyk(68.7%, 0%, 35.4%, 61.2%)
CIE-LABlab(37.09, -30.27, 13.82)
CIE-LCHlch(37.09, 33.27, 155.45°)
OKLaboklab(44.72% -0.0822 0.0349)
OKLCHoklch(44.72% 0.089 157)
XYZxyz(5.9518, 9.5845, 6.3858)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6340 #631F42
analogous
#20631F #1F6340 #1F6362
triadic
#1F6340 #401F63 #63401F
tetradic
#1F6340 #1F2063 #631F42 #63621F
square
#1F6340 #1F2063 #631F42 #63621F
split-complementary
#1F6340 #621F63 #631F20
monochromatic
#07170F #103422 #1F6340 #2E925E #3CC07C

Accessibility & contrast

On white

7.20
#1F6340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#1F6340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F6340
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6340#FFFFFF#000000##FFFFFF
##1F63401.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#595542
Tritanopia (blue-blind)
#00625A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f6340;
/* rgb */ color: rgb(31, 99, 64);
/* oklch */ color: oklch(44.7% 0.089 157.0);
Tailwind
colors: {
  custom: {
    50: '#649075',
    500: '#1f6340',
    950: '#000000',
  },
}
SCSS
$custom: #1f6340;
$custom-light: #649075;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6340",
  "rgb": {
    "r": 31,
    "g": 99,
    "b": 64
  },
  "hsl": {
    "h": 149.118,
    "s": 52.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.44717,
    "c": 0.08932,
    "h": 157
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#1F6340
secondary
#984670
accent
#4C96DC
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #1F6340

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

Preview Lab → · Contrast checker → · Palette generator →

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