#1F6E2D#1F6E2D

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

Color values

HEX#1F6E2D
RGBrgb(31, 110, 45)
HSLhsl(131, 56%, 28%)
HSVhsv(131, 72%, 43%)
CMYKcmyk(71.8%, 0%, 59.1%, 56.9%)
CIE-LABlab(40.63, -38.41, 29.11)
CIE-LCHlch(40.63, 48.20, 142.85°)
OKLaboklab(47.53% -0.1037 0.0693)
OKLCHoklch(47.53% 0.125 146.2)
XYZxyz(6.6142, 11.6319, 4.3787)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E2D #6E1F60
analogous
#386E1F #1F6E2D #1F6E54
triadic
#1F6E2D #2D1F6E #6E2D1F
tetradic
#1F6E2D #1F386E #6E1F60 #6E541F
square
#1F6E2D #1F386E #6E1F60 #6E541F
split-complementary
#1F6E2D #541F6E #6E1F38
monochromatic
#07180A #123E19 #1F6E2D #2C9E41 #3FC957

Accessibility & contrast

On white

6.31
#1F6E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#1F6E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6E2D
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E2D#FFFFFF#000000##FFFFFF
##1F6E2D1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#026B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e2d;
/* rgb */ color: rgb(31, 110, 45);
/* oklch */ color: oklch(47.5% 0.125 146.2);
Tailwind
colors: {
  custom: {
    50: '#679868',
    500: '#1f6e2d',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e2d;
$custom-light: #679868;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e2d",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 130.633,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.1247,
    "h": 146.2
  },
  "luminance": 0.11633
}

Semantic roles & 50–950 ramp

primary
#1F6E2D
secondary
#A24792
accent
#48C5DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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