#1F6E2A#1F6E2A

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

Color values

HEX#1F6E2A
RGBrgb(31, 110, 42)
HSLhsl(128, 56%, 28%)
HSVhsv(128, 72%, 43%)
CMYKcmyk(71.8%, 0%, 61.8%, 56.9%)
CIE-LABlab(40.59, -38.84, 30.61)
CIE-LCHlch(40.59, 49.45, 141.75°)
OKLaboklab(47.49% -0.1049 0.0723)
OKLCHoklch(47.49% 0.127 145.4)
XYZxyz(6.5585, 11.6096, 4.0853)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E2A #6E1F63
analogous
#3C6E1F #1F6E2A #1F6E51
triadic
#1F6E2A #2A1F6E #6E2A1F
tetradic
#1F6E2A #1F3C6E #6E1F63 #6E511F
square
#1F6E2A #1F3C6E #6E1F63 #6E511F
split-complementary
#1F6E2A #511F6E #6E1F3C
monochromatic
#071809 #123E18 #1F6E2A #2C9E3C #3FC952

Accessibility & contrast

On white

6.32
#1F6E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1F6E2A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F6E2A#FFFFFF#000000##FFFFFF
##1F6E2A1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#046B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e2a;
/* rgb */ color: rgb(31, 110, 42);
/* oklch */ color: oklch(47.5% 0.127 145.4);
Tailwind
colors: {
  custom: {
    50: '#679866',
    500: '#1f6e2a',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e2a;
$custom-light: #679866;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e2a",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 128.354,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47489,
    "c": 0.12743,
    "h": 145.4
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#1F6E2A
secondary
#A24795
accent
#48CADF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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