#286338#286338

#286338 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.093 H 150.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#286338
RGBrgb(40, 99, 56)
HSLhsl(136, 42%, 27%)
HSVhsv(136, 60%, 39%)
CMYKcmyk(59.6%, 0%, 43.4%, 61.2%)
CIE-LABlab(37.22, -29.78, 18.81)
CIE-LCHlch(37.22, 35.22, 147.73°)
OKLaboklab(44.86% -0.0806 0.0466)
OKLCHoklch(44.86% 0.093 150)
XYZxyz(6.0503, 9.6598, 5.2863)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#286338 #632853
analogous
#366328 #286338 #286356
triadic
#286338 #382863 #633828
tetradic
#286338 #283663 #632853 #635628
square
#286338 #283663 #632853 #635628
split-complementary
#286338 #562863 #632836
monochromatic
#09160C #16371F #286338 #3A8F51 #4EB76B

Accessibility & contrast

On white

7.16
#286338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#286338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #286338
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##286338#FFFFFF#000000##FFFFFF
##2863381.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645B35
Deuteranopia (green-blind)
#5C553B
Tritanopia (blue-blind)
#196158
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #286338;
/* rgb */ color: rgb(40, 99, 56);
/* oklch */ color: oklch(44.9% 0.093 150.0);
Tailwind
colors: {
  custom: {
    50: '#68906f',
    500: '#286338',
    950: '#000000',
  },
}
SCSS
$custom: #286338;
$custom-light: #68906f;
$custom-dark: #000000;
JSON
{
  "hex": "#286338",
  "rgb": {
    "r": 40,
    "g": 99,
    "b": 56
  },
  "hsl": {
    "h": 136.271,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.09314,
    "h": 150
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#286338
secondary
#965183
accent
#56B0D2
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #286338

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

Preview Lab → · Contrast checker → · Palette generator →

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