#286229#286229

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

Color values

HEX#286229
RGBrgb(40, 98, 41)
HSLhsl(121, 42%, 27%)
HSVhsv(121, 59%, 38%)
CMYKcmyk(59.2%, 0%, 58.2%, 61.6%)
CIE-LABlab(36.64, -31.85, 26.55)
CIE-LCHlch(36.64, 41.47, 140.19°)
OKLaboklab(44.31% -0.0865 0.0633)
OKLCHoklch(44.31% 0.107 143.8)
XYZxyz(5.6427, 9.3461, 3.6040)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286229 #622861
analogous
#446228 #286229 #286246
triadic
#286229 #292862 #622928
tetradic
#286229 #284462 #622861 #624628
square
#286229 #284462 #622861 #624628
split-complementary
#286229 #462862 #622844
monochromatic
#091609 #163717 #286229 #3A8D3B #4EB750

Accessibility & contrast

On white

7.32
#286229 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #286229
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286229#FFFFFF#000000##FFFFFF
##2862291.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645924
Deuteranopia (green-blind)
#5C542D
Tritanopia (blue-blind)
#1E5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286229;
/* rgb */ color: rgb(40, 98, 41);
/* oklch */ color: oklch(44.3% 0.107 143.8);
Tailwind
colors: {
  custom: {
    50: '#688f64',
    500: '#286229',
    950: '#000000',
  },
}
SCSS
$custom: #286229;
$custom-light: #688f64;
$custom-dark: #000000;
JSON
{
  "hex": "#286229",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 41
  },
  "hsl": {
    "h": 121.034,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44308,
    "c": 0.10724,
    "h": 143.8
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#286229
secondary
#955194
accent
#56D0D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #286229

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

Preview Lab → · Contrast checker → · Palette generator →

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