#286F2D#286F2D

#286F2D is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.122 H 144.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#286F2D
RGBrgb(40, 111, 45)
HSLhsl(124, 47%, 30%)
HSVhsv(124, 64%, 44%)
CMYKcmyk(64%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.23, -36.77, 29.89)
CIE-LCHlch(41.23, 47.39, 140.90°)
OKLaboklab(48.1% -0.0997 0.071)
OKLCHoklch(48.1% 0.122 144.5)
XYZxyz(7.0327, 12.0088, 4.4294)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F2D #6F286A
analogous
#476F28 #286F2D #286F51
triadic
#286F2D #2D286F #6F2D28
tetradic
#286F2D #28476F #6F286A #6F5128
square
#286F2D #28476F #6F286A #6F5128
split-complementary
#286F2D #51286F #6F2847
monochromatic
#081609 #18421B #286F2D #389C3F #51C059

Accessibility & contrast

On white

6.17
#286F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#286F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F2D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F2D#FFFFFF#000000##FFFFFF
##286F2D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716527
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#196C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f2d;
/* rgb */ color: rgb(40, 111, 45);
/* oklch */ color: oklch(48.1% 0.122 144.5);
Tailwind
colors: {
  custom: {
    50: '#6b9968',
    500: '#286f2d',
    950: '#000000',
  },
}
SCSS
$custom: #286f2d;
$custom-light: #6b9968;
$custom-dark: #000000;
JSON
{
  "hex": "#286f2d",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 124.225,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48104,
    "c": 0.12235,
    "h": 144.5
  },
  "luminance": 0.12009
}

Semantic roles & 50–950 ramp

primary
#286F2D
secondary
#A1519C
accent
#51CDD7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #286F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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