#286A25#286A25

#286A25 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.6% C 0.122 H 142.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#286A25
RGBrgb(40, 106, 37)
HSLhsl(117, 48%, 28%)
HSVhsv(117, 65%, 42%)
CMYKcmyk(62.3%, 0%, 65.1%, 58.4%)
CIE-LABlab(39.40, -35.77, 31.82)
CIE-LCHlch(39.40, 47.87, 138.34°)
OKLaboklab(46.56% -0.0973 0.0744)
OKLCHoklch(46.56% 0.123 142.6)
XYZxyz(6.3627, 10.8922, 3.5170)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286A25 #67256A
analogous
#4A6A25 #286A25 #256A44
triadic
#286A25 #25286A #6A2528
tetradic
#286A25 #254A6A #67256A #6A4425
square
#286A25 #254A6A #67256A #6A4425
split-complementary
#286A25 #44256A #6A254A
monochromatic
#091708 #173D15 #286A25 #399735 #4FC04A

Accessibility & contrast

On white

6.61
#286A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#286A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286A25
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286A25#FFFFFF#000000##FFFFFF
##286A251.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601D
Deuteranopia (green-blind)
#645B2B
Tritanopia (blue-blind)
#1D675B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #286a25;
/* rgb */ color: rgb(40, 106, 37);
/* oklch */ color: oklch(46.6% 0.122 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9562',
    500: '#286a25',
    950: '#000000',
  },
}
SCSS
$custom: #286a25;
$custom-light: #6a9562;
$custom-dark: #000000;
JSON
{
  "hex": "#286a25",
  "rgb": {
    "r": 40,
    "g": 106,
    "b": 37
  },
  "hsl": {
    "h": 117.391,
    "s": 48.252,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46563,
    "c": 0.1225,
    "h": 142.6
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#286A25
secondary
#9A4E9D
accent
#50D8D2
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286A25

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

Preview Lab → · Contrast checker → · Palette generator →

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