#286F38#286F38

#286F38 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.3% C 0.112 H 148.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#286F38
RGBrgb(40, 111, 56)
HSLhsl(134, 47%, 30%)
HSVhsv(134, 64%, 44%)
CMYKcmyk(64%, 0%, 49.5%, 56.5%)
CIE-LABlab(41.38, -35.07, 24.14)
CIE-LCHlch(41.38, 42.57, 145.45°)
OKLaboklab(48.28% -0.0947 0.0589)
OKLCHoklch(48.28% 0.112 148.1)
XYZxyz(7.2728, 12.1048, 5.6938)
Luminance0.1211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F38 #6F285F
analogous
#3C6F28 #286F38 #286F5C
triadic
#286F38 #38286F #6F3828
tetradic
#286F38 #283C6F #6F285F #6F5C28
square
#286F38 #283C6F #6F285F #6F5C28
split-complementary
#286F38 #5C286F #6F283C
monochromatic
#08160B #184221 #286F38 #389C4F #51C06A

Accessibility & contrast

On white

6.14
#286F38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#286F38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F38
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F38#FFFFFF#000000##FFFFFF
##286F381.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706534
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#156D62
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #286f38;
/* rgb */ color: rgb(40, 111, 56);
/* oklch */ color: oklch(48.3% 0.112 148.1);
Tailwind
colors: {
  custom: {
    50: '#6a996f',
    500: '#286f38',
    950: '#000000',
  },
}
SCSS
$custom: #286f38;
$custom-light: #6a996f;
$custom-dark: #000000;
JSON
{
  "hex": "#286f38",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 56
  },
  "hsl": {
    "h": 133.521,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.48278,
    "c": 0.11157,
    "h": 148.1
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#286F38
secondary
#A1518F
accent
#51B9D7
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F38

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

Preview Lab → · Contrast checker → · Palette generator →

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