#286E23#286E23

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

Color values

HEX#286E23
RGBrgb(40, 110, 35)
HSLhsl(116, 52%, 28%)
HSVhsv(116, 68%, 43%)
CMYKcmyk(63.6%, 0%, 68.2%, 56.9%)
CIE-LABlab(40.77, -37.61, 34.31)
CIE-LCHlch(40.77, 50.91, 137.63°)
OKLaboklab(47.69% -0.1025 0.0795)
OKLCHoklch(47.69% 0.13 142.2)
XYZxyz(6.7540, 11.7237, 3.4968)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E23 #69236E
analogous
#4D6E23 #286E23 #236E43
triadic
#286E23 #23286E #6E2328
tetradic
#286E23 #234D6E #69236E #6E4323
square
#286E23 #234D6E #69236E #6E4323
split-complementary
#286E23 #43236E #6E234D
monochromatic
#081707 #174014 #286E23 #399C32 #4FC447

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##286E23#FFFFFF#000000##FFFFFF
##286E231.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)
#71641A
Deuteranopia (green-blind)
#685E2A
Tritanopia (blue-blind)
#1C6B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e23;
/* rgb */ color: rgb(40, 110, 35);
/* oklch */ color: oklch(47.7% 0.130 142.2);
Tailwind
colors: {
  custom: {
    50: '#6b9862',
    500: '#286e23',
    950: '#000000',
  },
}
SCSS
$custom: #286e23;
$custom-light: #6b9862;
$custom-dark: #000000;
JSON
{
  "hex": "#286e23",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 116,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47692,
    "c": 0.12965,
    "h": 142.2
  },
  "luminance": 0.11724
}

Semantic roles & 50–950 ramp

primary
#286E23
secondary
#9C4CA1
accent
#4DDBD2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #286E23

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

Preview Lab → · Contrast checker → · Palette generator →

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