#286B22#286B22

#286B22 is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.8% C 0.126 H 142.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#286B22
RGBrgb(40, 107, 34)
HSLhsl(115, 52%, 28%)
HSVhsv(115, 68%, 42%)
CMYKcmyk(62.6%, 0%, 68.2%, 58%)
CIE-LABlab(39.72, -36.52, 33.62)
CIE-LCHlch(39.72, 49.64, 137.37°)
OKLaboklab(46.82% -0.0996 0.0779)
OKLCHoklch(46.82% 0.126 142)
XYZxyz(6.4212, 11.0814, 3.3136)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286B22 #65226B
analogous
#4D6B22 #286B22 #226B40
triadic
#286B22 #22286B #6B2228
tetradic
#286B22 #224D6B #65226B #6B4022
square
#286B22 #224D6B #65226B #6B4022
split-complementary
#286B22 #40226B #6B224D
monochromatic
#091707 #173D13 #286B22 #399931 #4EC444

Accessibility & contrast

On white

6.53
#286B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#286B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #286B22
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286B22#FFFFFF#000000##FFFFFF
##286B221.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6119
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#1D685C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #286b22;
/* rgb */ color: rgb(40, 107, 34);
/* oklch */ color: oklch(46.8% 0.126 142.0);
Tailwind
colors: {
  custom: {
    50: '#6a9661',
    500: '#286b22',
    950: '#000000',
  },
}
SCSS
$custom: #286b22;
$custom-light: #6a9661;
$custom-dark: #000000;
JSON
{
  "hex": "#286b22",
  "rgb": {
    "r": 40,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 115.068,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.1264,
    "h": 142
  },
  "luminance": 0.11082
}

Semantic roles & 50–950 ramp

primary
#286B22
secondary
#984A9F
accent
#4DDBCF
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #286B22

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

Preview Lab → · Contrast checker → · Palette generator →

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