#285338#285338

#285338 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.067 H 154.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#285338
RGBrgb(40, 83, 56)
HSLhsl(142, 35%, 24%)
HSVhsv(142, 52%, 33%)
CMYKcmyk(51.8%, 0%, 32.5%, 67.5%)
CIE-LABlab(31.63, -22.02, 11.32)
CIE-LCHlch(31.63, 24.76, 152.79°)
OKLaboklab(40.29% -0.0602 0.0287)
OKLCHoklch(40.29% 0.067 154.5)
XYZxyz(4.6818, 6.9228, 4.8301)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285338 #532843
analogous
#2E5328 #285338 #28534E
triadic
#285338 #382853 #533828
tetradic
#285338 #282E53 #532843 #534E28
square
#285338 #282E53 #532843 #534E28
split-complementary
#285338 #4E2853 #53282E
monochromatic
#0A150E #142A1C #285338 #3C7C54 #50A670

Accessibility & contrast

On white

8.81
#285338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#285338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285338
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285338#FFFFFF#000000##FFFFFF
##2853381.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D36
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#1E524C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285338;
/* rgb */ color: rgb(40, 83, 56);
/* oklch */ color: oklch(40.3% 0.067 154.5);
Tailwind
colors: {
  custom: {
    50: '#65846e',
    500: '#285338',
    950: '#000000',
  },
}
SCSS
$custom: #285338;
$custom-light: #65846e;
$custom-dark: #000000;
JSON
{
  "hex": "#285338",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 56
  },
  "hsl": {
    "h": 142.326,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40289,
    "c": 0.06665,
    "h": 154.5
  },
  "luminance": 0.06923
}

Semantic roles & 50–950 ramp

primary
#285338
secondary
#865172
accent
#5DA2CB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B07
muted
#7A7C7A

Preview Lab

Preview with #285338

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

Preview Lab → · Contrast checker → · Palette generator →

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