#286239#286239

#286239 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.090 H 150.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#286239
RGBrgb(40, 98, 57)
HSLhsl(138, 42%, 27%)
HSVhsv(138, 59%, 38%)
CMYKcmyk(59.2%, 0%, 41.8%, 61.6%)
CIE-LABlab(36.90, -29.12, 17.79)
CIE-LCHlch(36.90, 34.12, 148.59°)
OKLaboklab(44.6% -0.0789 0.0442)
OKLCHoklch(44.6% 0.09 150.7)
XYZxyz(5.9808, 9.4814, 5.3850)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286239 #622851
analogous
#346228 #286239 #286256
triadic
#286239 #392862 #623928
tetradic
#286239 #283462 #622851 #625628
square
#286239 #283462 #622851 #625628
split-complementary
#286239 #562862 #622834
monochromatic
#09160D #163720 #286239 #3A8D52 #4EB76C

Accessibility & contrast

On white

7.25
#286239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#286239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286239
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286239#FFFFFF#000000##FFFFFF
##2862391.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#5B553C
Tritanopia (blue-blind)
#196058
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #286239;
/* rgb */ color: rgb(40, 98, 57);
/* oklch */ color: oklch(44.6% 0.090 150.7);
Tailwind
colors: {
  custom: {
    50: '#688f70',
    500: '#286239',
    950: '#000000',
  },
}
SCSS
$custom: #286239;
$custom-light: #688f70;
$custom-dark: #000000;
JSON
{
  "hex": "#286239",
  "rgb": {
    "r": 40,
    "g": 98,
    "b": 57
  },
  "hsl": {
    "h": 137.586,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.09047,
    "h": 150.7
  },
  "luminance": 0.09482
}

Semantic roles & 50–950 ramp

primary
#286239
secondary
#955181
accent
#56AED2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286239

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

Preview Lab → · Contrast checker → · Palette generator →

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