#1F642F#1F642F

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

Color values

HEX#1F642F
RGBrgb(31, 100, 47)
HSLhsl(134, 53%, 26%)
HSVhsv(134, 69%, 39%)
CMYKcmyk(69%, 0%, 53%, 60.8%)
CIE-LABlab(37.13, -34.06, 23.78)
CIE-LCHlch(37.13, 41.54, 145.07°)
OKLaboklab(44.66% -0.0919 0.0576)
OKLCHoklch(44.66% 0.108 147.9)
XYZxyz(5.6349, 9.6103, 4.2468)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F642F #641F54
analogous
#31641F #1F642F #1F6451
triadic
#1F642F #2F1F64 #642F1F
tetradic
#1F642F #1F3164 #641F54 #64511F
square
#1F642F #1F3164 #641F54 #64511F
split-complementary
#1F642F #511F64 #641F31
monochromatic
#07170B #113519 #1F642F #2D9345 #3CC15B

Accessibility & contrast

On white

7.19
#1F642F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1F642F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F642F#FFFFFF#000000##FFFFFF
##1F642F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B2B
Deuteranopia (green-blind)
#5C5533
Tritanopia (blue-blind)
#086258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1f642f;
/* rgb */ color: rgb(31, 100, 47);
/* oklch */ color: oklch(44.7% 0.108 147.9);
Tailwind
colors: {
  custom: {
    50: '#649168',
    500: '#1f642f',
    950: '#000000',
  },
}
SCSS
$custom: #1f642f;
$custom-light: #649168;
$custom-dark: #000000;
JSON
{
  "hex": "#1f642f",
  "rgb": {
    "r": 31,
    "g": 100,
    "b": 47
  },
  "hsl": {
    "h": 133.913,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44656,
    "c": 0.10849,
    "h": 147.9
  },
  "luminance": 0.09611
}

Semantic roles & 50–950 ramp

primary
#1F642F
secondary
#984685
accent
#4CBBDC
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060D06
muted
#7A7D7A

Preview Lab

Preview with #1F642F

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

Preview Lab → · Contrast checker → · Palette generator →

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