#286C20#286C20

#286C20 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.129 H 141.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#286C20
RGBrgb(40, 108, 32)
HSLhsl(114, 54%, 27%)
HSVhsv(114, 70%, 42%)
CMYKcmyk(63%, 0%, 70.4%, 57.6%)
CIE-LABlab(40.05, -37.14, 34.91)
CIE-LCHlch(40.05, 50.97, 136.77°)
OKLaboklab(47.08% -0.1013 0.0803)
OKLCHoklch(47.08% 0.129 141.6)
XYZxyz(6.4980, 11.2799, 3.2010)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C20 #64206C
analogous
#4E6C20 #286C20 #206C3E
triadic
#286C20 #20286C #6C2028
tetradic
#286C20 #204E6C #64206C #6C3E20
square
#286C20 #204E6C #64206C #6C3E20
split-complementary
#286C20 #3E206C #6C204E
monochromatic
#091807 #173D12 #286C20 #399B2E #4EC640

Accessibility & contrast

On white

6.45
#286C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#286C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C20
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C20#FFFFFF#000000##FFFFFF
##286C201.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6216
Deuteranopia (green-blind)
#665C27
Tritanopia (blue-blind)
#1D695C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c20;
/* rgb */ color: rgb(40, 108, 32);
/* oklch */ color: oklch(47.1% 0.129 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9760',
    500: '#286c20',
    950: '#000000',
  },
}
SCSS
$custom: #286c20;
$custom-light: #6b9760;
$custom-dark: #000000;
JSON
{
  "hex": "#286c20",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 32
  },
  "hsl": {
    "h": 113.684,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47084,
    "c": 0.12933,
    "h": 141.6
  },
  "luminance": 0.11281
}

Semantic roles & 50–950 ramp

primary
#286C20
secondary
#9748A0
accent
#4ADECE
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286C20

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

Preview Lab → · Contrast checker → · Palette generator →

#286C20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva