#285334#285334

#285334 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.2% C 0.071 H 151.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#285334
RGBrgb(40, 83, 52)
HSLhsl(137, 35%, 24%)
HSVhsv(137, 52%, 33%)
CMYKcmyk(51.8%, 0%, 37.3%, 67.5%)
CIE-LABlab(31.54, -22.88, 13.68)
CIE-LCHlch(31.54, 26.66, 149.13°)
OKLaboklab(40.19% -0.0623 0.0344)
OKLCHoklch(40.19% 0.071 151.1)
XYZxyz(4.5879, 6.8852, 4.3354)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285334 #532847
analogous
#325328 #285334 #28534A
triadic
#285334 #342853 #533428
tetradic
#285334 #283253 #532847 #534A28
square
#285334 #283253 #532847 #534A28
split-complementary
#285334 #4A2853 #532832
monochromatic
#0A150D #142A1A #285334 #3C7C4E #50A668

Accessibility & contrast

On white

8.83
#285334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285334
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285334#FFFFFF#000000##FFFFFF
##2853341.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D32
Deuteranopia (green-blind)
#4D4936
Tritanopia (blue-blind)
#1F524B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #285334;
/* rgb */ color: rgb(40, 83, 52);
/* oklch */ color: oklch(40.2% 0.071 151.1);
Tailwind
colors: {
  custom: {
    50: '#65846b',
    500: '#285334',
    950: '#000000',
  },
}
SCSS
$custom: #285334;
$custom-light: #65846b;
$custom-dark: #000000;
JSON
{
  "hex": "#285334",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 52
  },
  "hsl": {
    "h": 136.744,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.07112,
    "h": 151.1
  },
  "luminance": 0.06886
}

Semantic roles & 50–950 ramp

primary
#285334
secondary
#865177
accent
#5DACCB
background
#F6F8F6
surface
#EBEFEB
border
#C6CAC6
text
#060B06
muted
#7A7C7A

Preview Lab

Preview with #285334

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

Preview Lab → · Contrast checker → · Palette generator →

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