#286C30#286C30

#286C30 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.115 H 145.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#286C30
RGBrgb(40, 108, 48)
HSLhsl(127, 46%, 29%)
HSVhsv(127, 63%, 42%)
CMYKcmyk(63%, 0%, 55.6%, 57.6%)
CIE-LABlab(40.23, -35.09, 27.10)
CIE-LCHlch(40.23, 44.34, 142.32°)
OKLaboklab(47.29% -0.095 0.0651)
OKLCHoklch(47.29% 0.115 145.6)
XYZxyz(6.7707, 11.3890, 4.6372)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286C30 #6C2864
analogous
#426C28 #286C30 #286C52
triadic
#286C30 #30286C #6C3028
tetradic
#286C30 #28426C #6C2864 #6C5228
square
#286C30 #28426C #6C2864 #6C5228
split-complementary
#286C30 #52286C #6C2842
monochromatic
#08160A #173F1C #286C30 #399944 #50BE5D

Accessibility & contrast

On white

6.41
#286C30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#286C30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286C30
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286C30#FFFFFF#000000##FFFFFF
##286C301.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E622B
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#19695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #286c30;
/* rgb */ color: rgb(40, 108, 48);
/* oklch */ color: oklch(47.3% 0.115 145.6);
Tailwind
colors: {
  custom: {
    50: '#6a976a',
    500: '#286c30',
    950: '#000000',
  },
}
SCSS
$custom: #286c30;
$custom-light: #6a976a;
$custom-dark: #000000;
JSON
{
  "hex": "#286c30",
  "rgb": {
    "r": 40,
    "g": 108,
    "b": 48
  },
  "hsl": {
    "h": 127.059,
    "s": 45.946,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4729,
    "c": 0.11516,
    "h": 145.6
  },
  "luminance": 0.1139
}

Semantic roles & 50–950 ramp

primary
#286C30
secondary
#9E5195
accent
#52C6D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286C30

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

Preview Lab → · Contrast checker → · Palette generator →

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