#1F6E2B#1F6E2B

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

Color values

HEX#1F6E2B
RGBrgb(31, 110, 43)
HSLhsl(129, 56%, 28%)
HSVhsv(129, 72%, 43%)
CMYKcmyk(71.8%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.60, -38.70, 30.11)
CIE-LCHlch(40.60, 49.04, 142.11°)
OKLaboklab(47.5% -0.1045 0.0713)
OKLCHoklch(47.5% 0.127 145.7)
XYZxyz(6.5766, 11.6169, 4.1807)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F6E2B #6E1F62
analogous
#3A6E1F #1F6E2B #1F6E52
triadic
#1F6E2B #2B1F6E #6E2B1F
tetradic
#1F6E2B #1F3A6E #6E1F62 #6E521F
square
#1F6E2B #1F3A6E #6E1F62 #6E521F
split-complementary
#1F6E2B #521F6E #6E1F3A
monochromatic
#071809 #123E18 #1F6E2B #2C9E3E #3FC954

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1F6E2B#FFFFFF#000000##FFFFFF
##1F6E2B1.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)
#706424
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#036B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #1f6e2b;
/* rgb */ color: rgb(31, 110, 43);
/* oklch */ color: oklch(47.5% 0.127 145.7);
Tailwind
colors: {
  custom: {
    50: '#679867',
    500: '#1f6e2b',
    950: '#000000',
  },
}
SCSS
$custom: #1f6e2b;
$custom-light: #679867;
$custom-dark: #000000;
JSON
{
  "hex": "#1f6e2b",
  "rgb": {
    "r": 31,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 129.114,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.47503,
    "c": 0.12653,
    "h": 145.7
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#1F6E2B
secondary
#A24794
accent
#48C8DF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #1F6E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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