#285315#285315

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

Color values

HEX#285315
RGBrgb(40, 83, 21)
HSLhsl(102, 60%, 20%)
HSVhsv(102, 75%, 33%)
CMYKcmyk(51.8%, 0%, 74.7%, 67.5%)
CIE-LABlab(31.09, -27.59, 30.39)
CIE-LCHlch(31.09, 41.04, 132.23°)
OKLaboklab(39.68% -0.0762 0.0693)
OKLCHoklch(39.68% 0.103 137.7)
XYZxyz(4.1036, 6.6915, 1.7847)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285315 #401553
analogous
#475315 #285315 #155321
triadic
#285315 #152853 #531528
tetradic
#285315 #154753 #401553 #532115
square
#285315 #154753 #401553 #532115
split-complementary
#285315 #211553 #531547
monochromatic
#0C1806 #102209 #285315 #408421 #57B52E

Accessibility & contrast

On white

8.98
#285315 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285315
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285315#FFFFFF#000000##FFFFFF
##2853151.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0C
Deuteranopia (green-blind)
#50481B
Tritanopia (blue-blind)
#255047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285315;
/* rgb */ color: rgb(40, 83, 21);
/* oklch */ color: oklch(39.7% 0.103 137.7);
Tailwind
colors: {
  custom: {
    50: '#678456',
    500: '#285315',
    950: '#000000',
  },
}
SCSS
$custom: #285315;
$custom-light: #678456;
$custom-dark: #000000;
JSON
{
  "hex": "#285315",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 21
  },
  "hsl": {
    "h": 101.613,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.10306,
    "h": 137.7
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

primary
#285315
secondary
#72398B
accent
#45E3B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285315

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

Preview Lab → · Contrast checker → · Palette generator →

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