#286B25#286B25

#286B25 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.9% C 0.124 H 142.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#286B25
RGBrgb(40, 107, 37)
HSLhsl(117, 49%, 28%)
HSVhsv(117, 65%, 42%)
CMYKcmyk(62.6%, 0%, 65.4%, 58%)
CIE-LABlab(39.75, -36.18, 32.21)
CIE-LCHlch(39.75, 48.44, 138.32°)
OKLaboklab(46.85% -0.0984 0.0752)
OKLCHoklch(46.85% 0.124 142.6)
XYZxyz(6.4663, 11.0995, 3.5516)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B25 #68256B
analogous
#4B6B25 #286B25 #256B45
triadic
#286B25 #25286B #6B2528
tetradic
#286B25 #254B6B #68256B #6B4525
square
#286B25 #254B6B #68256B #6B4525
split-complementary
#286B25 #45256B #6B254B
monochromatic
#081708 #173E15 #286B25 #399835 #4FC04A

Accessibility & contrast

On white

6.52
#286B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B25
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B25#FFFFFF#000000##FFFFFF
##286B251.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D611D
Deuteranopia (green-blind)
#655B2B
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b25;
/* rgb */ color: rgb(40, 107, 37);
/* oklch */ color: oklch(46.9% 0.124 142.6);
Tailwind
colors: {
  custom: {
    50: '#6a9662',
    500: '#286b25',
    950: '#000000',
  },
}
SCSS
$custom: #286b25;
$custom-light: #6a9662;
$custom-dark: #000000;
JSON
{
  "hex": "#286b25",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 37
  },
  "hsl": {
    "h": 117.429,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46851,
    "c": 0.12389,
    "h": 142.6
  },
  "luminance": 0.111
}

Semantic roles & 50–950 ramp

primary
#286B25
secondary
#9B4E9E
accent
#50D8D2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B25

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

Preview Lab → · Contrast checker → · Palette generator →

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