#286C23#286C23

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

Color values

HEX#286C23
RGBrgb(40, 108, 35)
HSLhsl(116, 51%, 28%)
HSVhsv(116, 68%, 42%)
CMYKcmyk(63%, 0%, 67.6%, 57.6%)
CIE-LABlab(40.08, -36.81, 33.55)
CIE-LCHlch(40.08, 49.80, 137.66°)
OKLaboklab(47.12% -0.1003 0.0778)
OKLCHoklch(47.12% 0.127 142.2)
XYZxyz(6.5407, 11.2970, 3.4256)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C23 #67236C
analogous
#4C6C23 #286C23 #236C42
triadic
#286C23 #23286C #6C2328
tetradic
#286C23 #234C6C #67236C #6C4223
square
#286C23 #234C6C #67236C #6C4223
split-complementary
#286C23 #42236C #6C234C
monochromatic
#091707 #173E14 #286C23 #399A32 #4FC346

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286C23#FFFFFF#000000##FFFFFF
##286C231.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)
#6F621A
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#1D695D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286c23;
/* rgb */ color: rgb(40, 108, 35);
/* oklch */ color: oklch(47.1% 0.127 142.2);
Tailwind
colors: {
  custom: {
    50: '#6b9761',
    500: '#286c23',
    950: '#000000',
  },
}
SCSS
$custom: #286c23;
$custom-light: #6b9761;
$custom-dark: #000000;
JSON
{
  "hex": "#286c23",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 115.89,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.12695,
    "h": 142.2
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

primary
#286C23
secondary
#9A4B9F
accent
#4DDBD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286C23

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

Preview Lab → · Contrast checker → · Palette generator →

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