#285313#285313

#285313 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.105 H 137.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#285313
RGBrgb(40, 83, 19)
HSLhsl(100, 63%, 20%)
HSVhsv(100, 77%, 33%)
CMYKcmyk(51.8%, 0%, 77.1%, 67.5%)
CIE-LABlab(31.08, -27.77, 31.27)
CIE-LCHlch(31.08, 41.82, 131.61°)
OKLaboklab(39.66% -0.0769 0.0709)
OKLCHoklch(39.66% 0.105 137.3)
XYZxyz(4.0857, 6.6844, 1.6909)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285313 #3E1353
analogous
#485313 #285313 #13531E
triadic
#285313 #132853 #531328
tetradic
#285313 #134853 #3E1353 #531E13
square
#285313 #134853 #3E1353 #531E13
split-complementary
#285313 #1E1353 #531348
monochromatic
#0C1906 #102108 #285313 #40851E #58B72A

Accessibility & contrast

On white

8.99
#285313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285313 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285313
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285313#FFFFFF#000000##FFFFFF
##2853131.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B09
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#255046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285313;
/* rgb */ color: rgb(40, 83, 19);
/* oklch */ color: oklch(39.7% 0.105 137.3);
Tailwind
colors: {
  custom: {
    50: '#678455',
    500: '#285313',
    950: '#000000',
  },
}
SCSS
$custom: #285313;
$custom-light: #678455;
$custom-dark: #000000;
JSON
{
  "hex": "#285313",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 19
  },
  "hsl": {
    "h": 100.313,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.10458,
    "h": 137.3
  },
  "luminance": 0.06685
}

Semantic roles & 50–950 ramp

primary
#285313
secondary
#70368B
accent
#42E6B0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285313

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

Preview Lab → · Contrast checker → · Palette generator →

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