#286C24#286C24

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

Color values

HEX#286C24
RGBrgb(40, 108, 36)
HSLhsl(117, 50%, 28%)
HSVhsv(117, 67%, 42%)
CMYKcmyk(63%, 0%, 66.7%, 57.6%)
CIE-LABlab(40.09, -36.70, 33.08)
CIE-LCHlch(40.09, 49.41, 137.97°)
OKLaboklab(47.13% -0.0999 0.077)
OKLCHoklch(47.13% 0.126 142.4)
XYZxyz(6.5557, 11.3030, 3.5049)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C24 #68246C
analogous
#4C6C24 #286C24 #246C44
triadic
#286C24 #24286C #6C2428
tetradic
#286C24 #244C6C #68246C #6C4424
square
#286C24 #244C6C #68246C #6C4424
split-complementary
#286C24 #44246C #6C244C
monochromatic
#081708 #173E15 #286C24 #399A33 #4FC248

Accessibility & contrast

On white

6.44
#286C24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286C24
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C24#FFFFFF#000000##FFFFFF
##286C241.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621B
Deuteranopia (green-blind)
#665C2A
Tritanopia (blue-blind)
#1D695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c24;
/* rgb */ color: rgb(40, 108, 36);
/* oklch */ color: oklch(47.1% 0.126 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9762',
    500: '#286c24',
    950: '#000000',
  },
}
SCSS
$custom: #286c24;
$custom-light: #6b9762;
$custom-dark: #000000;
JSON
{
  "hex": "#286c24",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 36
  },
  "hsl": {
    "h": 116.667,
    "s": 50,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47127,
    "c": 0.12612,
    "h": 142.4
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#286C24
secondary
#9B4D9F
accent
#4EDAD2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286C24

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

Preview Lab → · Contrast checker → · Palette generator →

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