#286E24#286E24

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

Color values

HEX#286E24
RGBrgb(40, 110, 36)
HSLhsl(117, 51%, 29%)
HSVhsv(117, 67%, 43%)
CMYKcmyk(63.6%, 0%, 67.3%, 56.9%)
CIE-LABlab(40.78, -37.50, 33.85)
CIE-LCHlch(40.78, 50.52, 137.93°)
OKLaboklab(47.7% -0.1021 0.0786)
OKLCHoklch(47.7% 0.129 142.4)
XYZxyz(6.7691, 11.7297, 3.5761)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E24 #6A246E
analogous
#4D6E24 #286E24 #246E45
triadic
#286E24 #24286E #6E2428
tetradic
#286E24 #244D6E #6A246E #6E4524
square
#286E24 #244D6E #6A246E #6E4524
split-complementary
#286E24 #45246E #6E244D
monochromatic
#081708 #174015 #286E24 #399C33 #50C349

Accessibility & contrast

On white

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

On black

3.35
#286E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##286E24#FFFFFF#000000##FFFFFF
##286E241.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641B
Deuteranopia (green-blind)
#685E2A
Tritanopia (blue-blind)
#1C6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e24;
/* rgb */ color: rgb(40, 110, 36);
/* oklch */ color: oklch(47.7% 0.129 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9862',
    500: '#286e24',
    950: '#000000',
  },
}
SCSS
$custom: #286e24;
$custom-light: #6b9862;
$custom-dark: #000000;
JSON
{
  "hex": "#286e24",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 36
  },
  "hsl": {
    "h": 116.757,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47703,
    "c": 0.12885,
    "h": 142.4
  },
  "luminance": 0.1173
}

Semantic roles & 50–950 ramp

primary
#286E24
secondary
#9D4DA1
accent
#4EDAD3
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E24

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

Preview Lab → · Contrast checker → · Palette generator →

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