#286B30#286B30

#286B30 is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.0% C 0.114 H 145.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#286B30
RGBrgb(40, 107, 48)
HSLhsl(127, 46%, 29%)
HSVhsv(127, 63%, 42%)
CMYKcmyk(62.6%, 0%, 55.1%, 58%)
CIE-LABlab(39.88, -34.67, 26.68)
CIE-LCHlch(39.88, 43.75, 142.42°)
OKLaboklab(47% -0.0939 0.0641)
OKLCHoklch(47% 0.114 145.7)
XYZxyz(6.6659, 11.1793, 4.6023)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B30 #6B2863
analogous
#426B28 #286B30 #286B52
triadic
#286B30 #30286B #6B3028
tetradic
#286B30 #28426B #6B2863 #6B5228
square
#286B30 #28426B #6B2863 #6B5228
split-complementary
#286B30 #52286B #6B2842
monochromatic
#08160A #173E1C #286B30 #399844 #50BE5D

Accessibility & contrast

On white

6.49
#286B30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#286B30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B30
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B30#FFFFFF#000000##FFFFFF
##286B301.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622B
Deuteranopia (green-blind)
#645C34
Tritanopia (blue-blind)
#1A685E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b30;
/* rgb */ color: rgb(40, 107, 48);
/* oklch */ color: oklch(47.0% 0.114 145.7);
Tailwind
colors: {
  custom: {
    50: '#6a966a',
    500: '#286b30',
    950: '#000000',
  },
}
SCSS
$custom: #286b30;
$custom-light: #6a966a;
$custom-dark: #000000;
JSON
{
  "hex": "#286b30",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 48
  },
  "hsl": {
    "h": 127.164,
    "s": 45.578,
    "l": 28.824
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.11369,
    "h": 145.7
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#286B30
secondary
#9D5194
accent
#53C6D5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #286B30

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

Preview Lab → · Contrast checker → · Palette generator →

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