#285213#285213

#285213 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.4% C 0.103 H 137.2°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#285213
RGBrgb(40, 82, 19)
HSLhsl(100, 62%, 20%)
HSVhsv(100, 77%, 32%)
CMYKcmyk(51.2%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.72, -27.31, 30.90)
CIE-LCHlch(30.72, 41.24, 131.47°)
OKLaboklab(39.36% -0.0757 0.0701)
OKLCHoklch(39.36% 0.103 137.2)
XYZxyz(4.0098, 6.5325, 1.6656)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285213 #3D1352
analogous
#485213 #285213 #13521E
triadic
#285213 #132852 #521328
tetradic
#285213 #134852 #3D1352 #521E13
square
#285213 #134852 #3D1352 #521E13
split-complementary
#285213 #1E1352 #521348
monochromatic
#0C1906 #102007 #285213 #40841F #58B52A

Accessibility & contrast

On white

9.10
#285213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#285213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285213
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285213#FFFFFF#000000##FFFFFF
##2852131.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B09
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#264F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285213;
/* rgb */ color: rgb(40, 82, 19);
/* oklch */ color: oklch(39.4% 0.103 137.2);
Tailwind
colors: {
  custom: {
    50: '#678355',
    500: '#285213',
    950: '#000000',
  },
}
SCSS
$custom: #285213;
$custom-light: #678355;
$custom-dark: #000000;
JSON
{
  "hex": "#285213",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 100,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.10315,
    "h": 137.2
  },
  "luminance": 0.06533
}

Semantic roles & 50–950 ramp

primary
#285213
secondary
#6E368A
accent
#42E5AF
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285213

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

Preview Lab → · Contrast checker → · Palette generator →

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