#1F661E#1F661E

#1F661E is a mid, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.127 H 142.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#1F661E
RGBrgb(31, 102, 30)
HSLhsl(119, 55%, 26%)
HSVhsv(119, 71%, 40%)
CMYKcmyk(69.6%, 0%, 70.6%, 60%)
CIE-LABlab(37.64, -37.22, 33.14)
CIE-LCHlch(37.64, 49.84, 138.32°)
OKLaboklab(45.01% -0.1011 0.0764)
OKLCHoklch(45.01% 0.127 142.9)
XYZxyz(5.5505, 9.8872, 2.8440)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F661E #651E66
analogous
#43661E #1F661E #1E6641
triadic
#1F661E #1E1F66 #661E1F
tetradic
#1F661E #1E4366 #651E66 #66411E
square
#1F661E #1E4366 #651E66 #66411E
split-complementary
#1F661E #411E66 #661E43
monochromatic
#071807 #113710 #1F661E #2D952C #3CC53A

Accessibility & contrast

On white

7.05
#1F661E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#1F661E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F661E
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F661E#FFFFFF#000000##FFFFFF
##1F661E1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C14
Deuteranopia (green-blind)
#605625
Tritanopia (blue-blind)
#0F6357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1f661e;
/* rgb */ color: rgb(31, 102, 30);
/* oklch */ color: oklch(45.0% 0.127 142.9);
Tailwind
colors: {
  custom: {
    50: '#65925e',
    500: '#1f661e',
    950: '#000000',
  },
}
SCSS
$custom: #1f661e;
$custom-light: #65925e;
$custom-dark: #000000;
JSON
{
  "hex": "#1f661e",
  "rgb": {
    "r": 31,
    "g": 102,
    "b": 30
  },
  "hsl": {
    "h": 119.167,
    "s": 54.545,
    "l": 25.882
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.12676,
    "h": 142.9
  },
  "luminance": 0.09888
}

Semantic roles & 50–950 ramp

primary
#1F661E
secondary
#99459B
accent
#4ADEDC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #1F661E

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

Preview Lab → · Contrast checker → · Palette generator →

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