#286E22#286E22

#286E22 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.130 H 142.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#286E22
RGBrgb(40, 110, 34)
HSLhsl(115, 53%, 28%)
HSVhsv(115, 69%, 43%)
CMYKcmyk(63.6%, 0%, 69.1%, 56.9%)
CIE-LABlab(40.76, -37.72, 34.77)
CIE-LCHlch(40.76, 51.30, 137.33°)
OKLaboklab(47.68% -0.1028 0.0803)
OKLCHoklch(47.68% 0.13 142)
XYZxyz(6.7394, 11.7178, 3.4197)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E22 #68226E
analogous
#4E6E22 #286E22 #226E42
triadic
#286E22 #22286E #6E2228
tetradic
#286E22 #224E6E #68226E #6E4222
square
#286E22 #224E6E #68226E #6E4222
split-complementary
#286E22 #42226E #6E224E
monochromatic
#091707 #173F14 #286E22 #399D30 #4FC545

Accessibility & contrast

On white

6.28
#286E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#286E22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286E22
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E22#FFFFFF#000000##FFFFFF
##286E221.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#685E29
Tritanopia (blue-blind)
#1C6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e22;
/* rgb */ color: rgb(40, 110, 34);
/* oklch */ color: oklch(47.7% 0.130 142.0);
Tailwind
colors: {
  custom: {
    50: '#6b9861',
    500: '#286e22',
    950: '#000000',
  },
}
SCSS
$custom: #286e22;
$custom-light: #6b9861;
$custom-dark: #000000;
JSON
{
  "hex": "#286e22",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 34
  },
  "hsl": {
    "h": 115.263,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.13046,
    "h": 142
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#286E22
secondary
#9B4AA1
accent
#4CDCD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E22

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

Preview Lab → · Contrast checker → · Palette generator →

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