#285116#285116

#285116 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.099 H 137.6°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#285116
RGBrgb(40, 81, 22)
HSLhsl(102, 57%, 20%)
HSVhsv(102, 73%, 32%)
CMYKcmyk(50.6%, 0%, 72.8%, 68.2%)
CIE-LABlab(30.38, -26.57, 29.17)
CIE-LCHlch(30.38, 39.46, 132.32°)
OKLaboklab(39.1% -0.0734 0.0669)
OKLCHoklch(39.1% 0.099 137.6)
XYZxyz(3.9622, 6.3936, 1.7842)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285116 #3F1651
analogous
#455116 #285116 #165121
triadic
#285116 #162851 #511628
tetradic
#285116 #164551 #3F1651 #512116
square
#285116 #164551 #3F1651 #512116
split-complementary
#285116 #211651 #511645
monochromatic
#0C1807 #102109 #285116 #408123 #58B130

Accessibility & contrast

On white

9.22
#285116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#285116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285116
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285116#FFFFFF#000000##FFFFFF
##2851161.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#4E461B
Tritanopia (blue-blind)
#254E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285116;
/* rgb */ color: rgb(40, 81, 22);
/* oklch */ color: oklch(39.1% 0.099 137.6);
Tailwind
colors: {
  custom: {
    50: '#668257',
    500: '#285116',
    950: '#000000',
  },
}
SCSS
$custom: #285116;
$custom-light: #668257;
$custom-dark: #000000;
JSON
{
  "hex": "#285116",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 101.695,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.09934,
    "h": 137.6
  },
  "luminance": 0.06394
}

Semantic roles & 50–950 ramp

primary
#285116
secondary
#713A88
accent
#47E1B2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285116

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

Preview Lab → · Contrast checker → · Palette generator →

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