#285915#285915

#285915 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.112 H 138.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#285915
RGBrgb(40, 89, 21)
HSLhsl(103, 62%, 22%)
HSVhsv(103, 76%, 35%)
CMYKcmyk(55.1%, 0%, 76.4%, 65.1%)
CIE-LABlab(33.24, -30.27, 32.62)
CIE-LCHlch(33.24, 44.50, 132.86°)
OKLaboklab(41.44% -0.0835 0.074)
OKLCHoklch(41.44% 0.112 138.4)
XYZxyz(4.5826, 7.6497, 1.9444)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285915 #461559
analogous
#4A5915 #285915 #155924
triadic
#285915 #152859 #591528
tetradic
#285915 #154A59 #461559 #592415
square
#285915 #154A59 #461559 #592415
split-complementary
#285915 #241559 #59154A
monochromatic
#0B1906 #122709 #285915 #3E8B21 #55BC2C

Accessibility & contrast

On white

8.30
#285915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#285915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285915
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285915#FFFFFF#000000##FFFFFF
##2859151.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#564D1C
Tritanopia (blue-blind)
#24564C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #285915;
/* rgb */ color: rgb(40, 89, 21);
/* oklch */ color: oklch(41.4% 0.112 138.4);
Tailwind
colors: {
  custom: {
    50: '#688857',
    500: '#285915',
    950: '#000000',
  },
}
SCSS
$custom: #285915;
$custom-light: #688857;
$custom-dark: #000000;
JSON
{
  "hex": "#285915",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 103.235,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.41442,
    "c": 0.11159,
    "h": 138.4
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#285915
secondary
#783991
accent
#43E5B8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285915

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

Preview Lab → · Contrast checker → · Palette generator →

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