#286F34#286F34

#286F34 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.116 H 146.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#286F34
RGBrgb(40, 111, 52)
HSLhsl(130, 47%, 30%)
HSVhsv(130, 64%, 44%)
CMYKcmyk(64%, 0%, 53.2%, 56.5%)
CIE-LABlab(41.32, -35.73, 26.27)
CIE-LCHlch(41.32, 44.35, 143.67°)
OKLaboklab(48.21% -0.0966 0.0635)
OKLCHoklch(48.21% 0.116 146.7)
XYZxyz(7.1789, 12.0672, 5.1990)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286F34 #6F2863
analogous
#406F28 #286F34 #286F58
triadic
#286F34 #34286F #6F3428
tetradic
#286F34 #28406F #6F2863 #6F5828
square
#286F34 #28406F #6F2863 #6F5828
split-complementary
#286F34 #58286F #6F2840
monochromatic
#08160B #18421F #286F34 #389C49 #51C064

Accessibility & contrast

On white

6.15
#286F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#286F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286F34
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286F34#FFFFFF#000000##FFFFFF
##286F341.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70652F
Deuteranopia (green-blind)
#675F38
Tritanopia (blue-blind)
#176C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #286f34;
/* rgb */ color: rgb(40, 111, 52);
/* oklch */ color: oklch(48.2% 0.116 146.7);
Tailwind
colors: {
  custom: {
    50: '#6a996d',
    500: '#286f34',
    950: '#000000',
  },
}
SCSS
$custom: #286f34;
$custom-light: #6a996d;
$custom-dark: #000000;
JSON
{
  "hex": "#286f34",
  "rgb": {
    "r": 40,
    "g": 111,
    "b": 52
  },
  "hsl": {
    "h": 130.141,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4821,
    "c": 0.1156,
    "h": 146.7
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#286F34
secondary
#A15194
accent
#51C0D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #286F34

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

Preview Lab → · Contrast checker → · Palette generator →

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