#286227#286227

#286227 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.109 H 143.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#286227
RGBrgb(40, 98, 39)
HSLhsl(119, 43%, 27%)
HSVhsv(119, 60%, 38%)
CMYKcmyk(59.2%, 0%, 60.2%, 61.6%)
CIE-LABlab(36.62, -32.14, 27.59)
CIE-LCHlch(36.62, 42.35, 139.36°)
OKLaboklab(44.28% -0.0874 0.0654)
OKLCHoklch(44.28% 0.109 143.2)
XYZxyz(5.6087, 9.3325, 3.4249)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286227 #612762
analogous
#466227 #286227 #276244
triadic
#286227 #272862 #622728
tetradic
#286227 #274662 #612762 #624427
square
#286227 #274662 #612762 #624427
split-complementary
#286227 #442762 #622746
monochromatic
#091609 #163616 #286227 #3A8E38 #4EB84C

Accessibility & contrast

On white

7.33
#286227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#286227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286227
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286227#FFFFFF#000000##FFFFFF
##2862271.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645921
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#1F5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286227;
/* rgb */ color: rgb(40, 98, 39);
/* oklch */ color: oklch(44.3% 0.109 143.2);
Tailwind
colors: {
  custom: {
    50: '#688f63',
    500: '#286227',
    950: '#000000',
  },
}
SCSS
$custom: #286227;
$custom-light: #688f63;
$custom-dark: #000000;
JSON
{
  "hex": "#286227",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 39
  },
  "hsl": {
    "h": 118.983,
    "s": 43.066,
    "l": 26.863
  },
  "oklch": {
    "l": 0.44279,
    "c": 0.10918,
    "h": 143.2
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#286227
secondary
#945095
accent
#55D3D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A

Preview Lab

Preview with #286227

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

Preview Lab → · Contrast checker → · Palette generator →

#286227 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva