#286232#286232

#286232 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.098 H 147.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#286232
RGBrgb(40, 98, 50)
HSLhsl(130, 42%, 27%)
HSVhsv(130, 59%, 38%)
CMYKcmyk(59.2%, 0%, 49%, 61.6%)
CIE-LABlab(36.77, -30.42, 21.70)
CIE-LCHlch(36.77, 37.37, 144.50°)
OKLaboklab(44.46% -0.0824 0.0531)
OKLCHoklch(44.46% 0.098 147.2)
XYZxyz(5.8181, 9.4163, 4.5279)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286232 #622858
analogous
#3B6228 #286232 #28624F
triadic
#286232 #322862 #623228
tetradic
#286232 #283B62 #622858 #624F28
square
#286232 #283B62 #622858 #624F28
split-complementary
#286232 #4F2862 #62283B
monochromatic
#09160B #16371C #286232 #3A8D48 #4EB760

Accessibility & contrast

On white

7.28
#286232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#286232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286232
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286232#FFFFFF#000000##FFFFFF
##2862321.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2E
Deuteranopia (green-blind)
#5B5435
Tritanopia (blue-blind)
#1C6057
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #286232;
/* rgb */ color: rgb(40, 98, 50);
/* oklch */ color: oklch(44.5% 0.098 147.2);
Tailwind
colors: {
  custom: {
    50: '#688f6b',
    500: '#286232',
    950: '#000000',
  },
}
SCSS
$custom: #286232;
$custom-light: #688f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#286232",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 130.345,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44459,
    "c": 0.09798,
    "h": 147.2
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#286232
secondary
#955189
accent
#56BCD2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #286232

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

Preview Lab → · Contrast checker → · Palette generator →

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