#1F6E27#1F6E27

#1F6E27 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.130 H 144.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#1F6E27
RGBrgb(31, 110, 39)
HSLhsl(126, 56%, 28%)
HSVhsv(126, 72%, 43%)
CMYKcmyk(71.8%, 0%, 64.5%, 56.9%)
CIE-LABlab(40.56, -39.23, 32.08)
CIE-LCHlch(40.56, 50.68, 140.73°)
OKLaboklab(47.45% -0.1061 0.0752)
OKLCHoklch(47.45% 0.13 144.7)
XYZxyz(6.5068, 11.5890, 3.8130)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E27 #6E1F66
analogous
#3E6E1F #1F6E27 #1F6E4E
triadic
#1F6E27 #271F6E #6E271F
tetradic
#1F6E27 #1F3E6E #6E1F66 #6E4E1F
square
#1F6E27 #1F3E6E #6E1F66 #6E4E1F
split-complementary
#1F6E27 #4E1F6E #6E1F3E
monochromatic
#071808 #123E16 #1F6E27 #2C9E38 #3FC94D

Accessibility & contrast

On white

6.33
#1F6E27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#1F6E27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E27
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E27#FFFFFF#000000##FFFFFF
##1F6E271.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641F
Deuteranopia (green-blind)
#675D2D
Tritanopia (blue-blind)
#056B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e27;
/* rgb */ color: rgb(31, 110, 39);
/* oklch */ color: oklch(47.5% 0.130 144.7);
Tailwind
colors: {
  custom: {
    50: '#679864',
    500: '#1f6e27',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e27;
$custom-light: #679864;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e27",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 39
  },
  "hsl": {
    "h": 126.076,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.13005,
    "h": 144.7
  },
  "luminance": 0.1159
}

Semantic roles & 50–950 ramp

primary
#1F6E27
secondary
#A24799
accent
#48D0DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #1F6E27

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

Preview Lab → · Contrast checker → · Palette generator →

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