#1F6A2E#1F6A2E

#1F6A2E is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.4% C 0.118 H 146.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#1F6A2E
RGBrgb(31, 106, 46)
HSLhsl(132, 55%, 27%)
HSVhsv(132, 71%, 42%)
CMYKcmyk(70.8%, 0%, 56.6%, 58.4%)
CIE-LABlab(39.23, -36.68, 26.91)
CIE-LCHlch(39.23, 45.49, 143.73°)
OKLaboklab(46.39% -0.099 0.0646)
OKLCHoklch(46.39% 0.118 146.9)
XYZxyz(6.2118, 10.7960, 4.3407)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6A2E #6A1F5B
analogous
#366A1F #1F6A2E #1F6A54
triadic
#1F6A2E #2E1F6A #6A2E1F
tetradic
#1F6A2E #1F366A #6A1F5B #6A541F
square
#1F6A2E #1F366A #6A1F5B #6A541F
split-complementary
#1F6A2E #541F6A #6A1F36
monochromatic
#07180A #113B19 #1F6A2E #2D9943 #3DC659

Accessibility & contrast

On white

6.65
#1F6A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#1F6A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1F6A2E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6A2E#FFFFFF#000000##FFFFFF
##1F6A2E1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6029
Deuteranopia (green-blind)
#625A33
Tritanopia (blue-blind)
#04685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #1f6a2e;
/* rgb */ color: rgb(31, 106, 46);
/* oklch */ color: oklch(46.4% 0.118 146.9);
Tailwind
colors: {
  custom: {
    50: '#669568',
    500: '#1f6a2e',
    950: '#000000',
  },
}
SCSS
$custom: #1f6a2e;
$custom-light: #669568;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6a2e",
  "rgb": {
    "r": 31,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 132,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46386,
    "c": 0.11815,
    "h": 146.9
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#1F6A2E
secondary
#9E478D
accent
#4AC0DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #1F6A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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