#286720#286720

#286720 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.123 H 141.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#286720
RGBrgb(40, 103, 32)
HSLhsl(113, 53%, 26%)
HSVhsv(113, 69%, 40%)
CMYKcmyk(61.2%, 0%, 68.9%, 59.6%)
CIE-LABlab(38.30, -35.11, 33.01)
CIE-LCHlch(38.30, 48.19, 136.77°)
OKLaboklab(45.64% -0.0959 0.0763)
OKLCHoklch(45.64% 0.123 141.5)
XYZxyz(5.9857, 10.2554, 3.0303)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286720 #5F2067
analogous
#4C6720 #286720 #20673C
triadic
#286720 #202867 #672028
tetradic
#286720 #204C67 #5F2067 #673C20
square
#286720 #204C67 #5F2067 #673C20
split-complementary
#286720 #3C2067 #67204C
monochromatic
#091707 #163811 #286720 #3A962F #4DC33E

Accessibility & contrast

On white

6.88
#286720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#286720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286720
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286720#FFFFFF#000000##FFFFFF
##2867201.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D17
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #286720;
/* rgb */ color: rgb(40, 103, 32);
/* oklch */ color: oklch(45.6% 0.123 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a935f',
    500: '#286720',
    950: '#000000',
  },
}
SCSS
$custom: #286720;
$custom-light: #6a935f;
$custom-dark: #000000;
JSON
{
  "hex": "#286720",
  "rgb": {
    "r": 40,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 113.239,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45638,
    "c": 0.12254,
    "h": 141.5
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#286720
secondary
#92489B
accent
#4CDCCC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286720

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

Preview Lab → · Contrast checker → · Palette generator →

#286720 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva