#286D25#286D25

#286D25 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.127 H 142.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#286D25
RGBrgb(40, 109, 37)
HSLhsl(118, 49%, 29%)
HSVhsv(118, 66%, 43%)
CMYKcmyk(63.3%, 0%, 66.1%, 57.3%)
CIE-LABlab(40.45, -36.99, 33.00)
CIE-LCHlch(40.45, 49.57, 138.26°)
OKLaboklab(47.43% -0.1006 0.0769)
OKLCHoklch(47.43% 0.127 142.6)
XYZxyz(6.6773, 11.5213, 3.6219)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286D25 #6A256D
analogous
#4C6D25 #286D25 #256D46
triadic
#286D25 #25286D #6D2528
tetradic
#286D25 #254C6D #6A256D #6D4625
square
#286D25 #254C6D #6A256D #6D4625
split-complementary
#286D25 #46256D #6D254C
monochromatic
#081708 #173F15 #286D25 #399B35 #50C24B

Accessibility & contrast

On white

6.36
#286D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#286D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286D25
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286D25#FFFFFF#000000##FFFFFF
##286D251.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F631D
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#1C6A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286d25;
/* rgb */ color: rgb(40, 109, 37);
/* oklch */ color: oklch(47.4% 0.127 142.6);
Tailwind
colors: {
  custom: {
    50: '#6b9763',
    500: '#286d25',
    950: '#000000',
  },
}
SCSS
$custom: #286d25;
$custom-light: #6b9763;
$custom-dark: #000000;
JSON
{
  "hex": "#286d25",
  "rgb": {
    "r": 40,
    "g": 109,
    "b": 37
  },
  "hsl": {
    "h": 117.5,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.12665,
    "h": 142.6
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#286D25
secondary
#9D4EA0
accent
#4FD9D3
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D05
muted
#7A7E7A

Preview Lab

Preview with #286D25

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

Preview Lab → · Contrast checker → · Palette generator →

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