#1F6C36#1F6C36

#1F6C36 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.1% C 0.113 H 149.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#1F6C36
RGBrgb(31, 108, 54)
HSLhsl(138, 55%, 27%)
HSVhsv(138, 71%, 42%)
CMYKcmyk(71.3%, 0%, 50%, 57.6%)
CIE-LABlab(40.05, -36.16, 23.53)
CIE-LCHlch(40.05, 43.14, 146.95°)
OKLaboklab(47.1% -0.0974 0.0574)
OKLCHoklch(47.1% 0.113 149.5)
XYZxyz(6.5930, 11.2821, 5.3195)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6C36 #6C1F55
analogous
#2F6C1F #1F6C36 #1F6C5D
triadic
#1F6C36 #361F6C #6C361F
tetradic
#1F6C36 #1F2F6C #6C1F55 #6C5D1F
square
#1F6C36 #1F2F6C #6C1F55 #6C5D1F
split-complementary
#1F6C36 #5D1F6C #6C1F2F
monochromatic
#07180C #113C1E #1F6C36 #2D9C4E #3EC867

Accessibility & contrast

On white

6.45
#1F6C36 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#1F6C36 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6C36
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6C36#FFFFFF#000000##FFFFFF
##1F6C361.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6232
Deuteranopia (green-blind)
#635C3A
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #1f6c36;
/* rgb */ color: rgb(31, 108, 54);
/* oklch */ color: oklch(47.1% 0.113 149.5);
Tailwind
colors: {
  custom: {
    50: '#66976e',
    500: '#1f6c36',
    950: '#000000',
  },
}
SCSS
$custom: #1f6c36;
$custom-light: #66976e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6c36",
  "rgb": {
    "r": 31,
    "g": 108,
    "b": 54
  },
  "hsl": {
    "h": 137.922,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.47098,
    "c": 0.11311,
    "h": 149.5
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#1F6C36
secondary
#A04785
accent
#49B2DF
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #1F6C36

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

Preview Lab → · Contrast checker → · Palette generator →

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