#20681F#20681F

#20681F is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.128 H 142.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#20681F
RGBrgb(32, 104, 31)
HSLhsl(119, 54%, 26%)
HSVhsv(119, 70%, 41%)
CMYKcmyk(69.2%, 0%, 70.2%, 59.2%)
CIE-LABlab(38.39, -37.65, 33.50)
CIE-LCHlch(38.39, 50.40, 138.34°)
OKLaboklab(45.64% -0.1023 0.0773)
OKLCHoklch(45.64% 0.128 142.9)
XYZxyz(5.7930, 10.3060, 2.9800)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20681F #671F68
analogous
#45681F #20681F #1F6843
triadic
#20681F #1F2068 #681F20
tetradic
#20681F #1F4568 #671F68 #68431F
square
#20681F #1F4568 #671F68 #68431F
split-complementary
#20681F #431F68 #681F45
monochromatic
#071807 #113911 #20681F #2F972D #3EC53C

Accessibility & contrast

On white

6.86
#20681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#20681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #20681F
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20681F#FFFFFF#000000##FFFFFF
##20681F1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E15
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#106559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #20681f;
/* rgb */ color: rgb(32, 104, 31);
/* oklch */ color: oklch(45.6% 0.128 142.9);
Tailwind
colors: {
  custom: {
    50: '#66945e',
    500: '#20681f',
    950: '#000000',
  },
}
SCSS
$custom: #20681f;
$custom-light: #66945e;
$custom-dark: #000000;
JSON
{
  "hex": "#20681f",
  "rgb": {
    "r": 32,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 119.178,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.12823,
    "h": 142.9
  },
  "luminance": 0.10307
}

Semantic roles & 50–950 ramp

primary
#20681F
secondary
#9B469C
accent
#4ADDDB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #20681F

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

Preview Lab → · Contrast checker → · Palette generator →

#20681F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva