#285D15#285D15

#285D15 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.117 H 138.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#285D15
RGBrgb(40, 93, 21)
HSLhsl(104, 63%, 22%)
HSVhsv(104, 77%, 36%)
CMYKcmyk(57%, 0%, 77.4%, 63.5%)
CIE-LABlab(34.67, -32.00, 34.08)
CIE-LCHlch(34.67, 46.75, 133.19°)
OKLaboklab(42.62% -0.0882 0.0771)
OKLCHoklch(42.62% 0.117 138.8)
XYZxyz(4.9246, 8.3336, 2.0584)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285D15 #4A155D
analogous
#4C5D15 #285D15 #155D26
triadic
#285D15 #15285D #5D1528
tetradic
#285D15 #154C5D #4A155D #5D2615
square
#285D15 #154C5D #4A155D #5D2615
split-complementary
#285D15 #26155D #5D154C
monochromatic
#0B1906 #132B0A #285D15 #3D8F20 #53C12C

Accessibility & contrast

On white

7.87
#285D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285D15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285D15
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285D15#FFFFFF#000000##FFFFFF
##285D151.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605408
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#235A4F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285d15;
/* rgb */ color: rgb(40, 93, 21);
/* oklch */ color: oklch(42.6% 0.117 138.8);
Tailwind
colors: {
  custom: {
    50: '#688b58',
    500: '#285d15',
    950: '#000000',
  },
}
SCSS
$custom: #285d15;
$custom-light: #688b58;
$custom-dark: #000000;
JSON
{
  "hex": "#285d15",
  "rgb": {
    "r": 40,
    "g": 93,
    "b": 21
  },
  "hsl": {
    "h": 104.167,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.11711,
    "h": 138.8
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#285D15
secondary
#7C3994
accent
#42E6BB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285D15

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

Preview Lab → · Contrast checker → · Palette generator →

#285D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva