#286E25#286E25

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

Color values

HEX#286E25
RGBrgb(40, 110, 37)
HSLhsl(118, 50%, 29%)
HSVhsv(118, 66%, 43%)
CMYKcmyk(63.6%, 0%, 66.4%, 56.9%)
CIE-LABlab(40.79, -37.39, 33.39)
CIE-LCHlch(40.79, 50.13, 138.23°)
OKLaboklab(47.71% -0.1017 0.0777)
OKLCHoklch(47.71% 0.128 142.6)
XYZxyz(6.7846, 11.7359, 3.6576)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286E25 #6B256E
analogous
#4D6E25 #286E25 #256E47
triadic
#286E25 #25286E #6E2528
tetradic
#286E25 #254D6E #6B256E #6E4725
square
#286E25 #254D6E #6B256E #6E4725
split-complementary
#286E25 #47256E #6E254D
monochromatic
#081708 #174016 #286E25 #399C34 #50C24B

Accessibility & contrast

On white

6.27
#286E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #286E25
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286E25#FFFFFF#000000##FFFFFF
##286E251.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641C
Deuteranopia (green-blind)
#685E2B
Tritanopia (blue-blind)
#1C6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #286e25;
/* rgb */ color: rgb(40, 110, 37);
/* oklch */ color: oklch(47.7% 0.128 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9863',
    500: '#286e25',
    950: '#000000',
  },
}
SCSS
$custom: #286e25;
$custom-light: #6b9863;
$custom-dark: #000000;
JSON
{
  "hex": "#286e25",
  "rgb": {
    "r": 40,
    "g": 110,
    "b": 37
  },
  "hsl": {
    "h": 117.534,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.12802,
    "h": 142.6
  },
  "luminance": 0.11737
}

Semantic roles & 50–950 ramp

primary
#286E25
secondary
#9D4EA1
accent
#4FD9D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #286E25

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

Preview Lab → · Contrast checker → · Palette generator →

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