#285E16#285E16

#285E16 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.118 H 139.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#285E16
RGBrgb(40, 94, 22)
HSLhsl(105, 62%, 23%)
HSVhsv(105, 77%, 37%)
CMYKcmyk(57.4%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.03, -32.34, 34.03)
CIE-LCHlch(35.03, 46.94, 133.54°)
OKLaboklab(42.92% -0.089 0.0771)
OKLCHoklch(42.92% 0.118 139.1)
XYZxyz(5.0224, 8.5141, 2.1376)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E16 #4C165E
analogous
#4C5E16 #285E16 #165E28
triadic
#285E16 #16285E #5E1628
tetradic
#285E16 #164C5E #4C165E #5E2816
square
#285E16 #164C5E #4C165E #5E2816
split-complementary
#285E16 #28165E #5E164C
monochromatic
#0B1906 #132C0A #285E16 #3D9022 #52C12D

Accessibility & contrast

On white

7.77
#285E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#285E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E16
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E16#FFFFFF#000000##FFFFFF
##285E161.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550A
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e16;
/* rgb */ color: rgb(40, 94, 22);
/* oklch */ color: oklch(42.9% 0.118 139.1);
Tailwind
colors: {
  custom: {
    50: '#698c58',
    500: '#285e16',
    950: '#000000',
  },
}
SCSS
$custom: #285e16;
$custom-light: #698c58;
$custom-dark: #000000;
JSON
{
  "hex": "#285e16",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 105,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.11777,
    "h": 139.1
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#285E16
secondary
#7E3B95
accent
#43E5BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E16

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

Preview Lab → · Contrast checker → · Palette generator →

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