#285F16#285F16

#285F16 is a dark, moderate green. Relative luminance 0.087; OKLCH L 43.2% C 0.119 H 139.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#285F16
RGBrgb(40, 95, 22)
HSLhsl(105, 62%, 23%)
HSVhsv(105, 77%, 37%)
CMYKcmyk(57.9%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.39, -32.76, 34.39)
CIE-LCHlch(35.39, 47.50, 133.61°)
OKLaboklab(43.21% -0.0902 0.0779)
OKLCHoklch(43.21% 0.119 139.2)
XYZxyz(5.1119, 8.6930, 2.1675)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F16 #4D165F
analogous
#4C5F16 #285F16 #165F28
triadic
#285F16 #16285F #5F1628
tetradic
#285F16 #164C5F #4D165F #5F2816
square
#285F16 #164C5F #4D165F #5F2816
split-complementary
#285F16 #28165F #5F164C
monochromatic
#0A1906 #132D0A #285F16 #3D9122 #52C22D

Accessibility & contrast

On white

7.67
#285F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#285F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285F16
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285F16#FFFFFF#000000##FFFFFF
##285F161.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625609
Deuteranopia (green-blind)
#5B511D
Tritanopia (blue-blind)
#235C51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f16;
/* rgb */ color: rgb(40, 95, 22);
/* oklch */ color: oklch(43.2% 0.119 139.2);
Tailwind
colors: {
  custom: {
    50: '#698d58',
    500: '#285f16',
    950: '#000000',
  },
}
SCSS
$custom: #285f16;
$custom-light: #698d58;
$custom-dark: #000000;
JSON
{
  "hex": "#285f16",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 105.205,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43211,
    "c": 0.11913,
    "h": 139.2
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#285F16
secondary
#803B96
accent
#42E5BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #285F16

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

Preview Lab → · Contrast checker → · Palette generator →

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