#285F13#285F13

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

Color values

HEX#285F13
RGBrgb(40, 95, 19)
HSLhsl(103, 67%, 22%)
HSVhsv(103, 80%, 37%)
CMYKcmyk(57.9%, 0%, 80%, 62.7%)
CIE-LABlab(35.36, -33.00, 35.58)
CIE-LCHlch(35.36, 48.53, 132.85°)
OKLaboklab(43.19% -0.091 0.0799)
OKLCHoklch(43.19% 0.121 138.7)
XYZxyz(5.0846, 8.6821, 2.0238)
Luminance0.0868 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285F13 #4A135F
analogous
#4E5F13 #285F13 #135F24
triadic
#285F13 #13285F #5F1328
tetradic
#285F13 #134E5F #4A135F #5F2413
square
#285F13 #134E5F #4A135F #5F2413
split-complementary
#285F13 #24135F #5F134E
monochromatic
#0B1A05 #132C09 #285F13 #3D921D #53C527

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285F13#FFFFFF#000000##FFFFFF
##285F131.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)
#625604
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285f13;
/* rgb */ color: rgb(40, 95, 19);
/* oklch */ color: oklch(43.2% 0.121 138.7);
Tailwind
colors: {
  custom: {
    50: '#698d57',
    500: '#285f13',
    950: '#000000',
  },
}
SCSS
$custom: #285f13;
$custom-light: #698d57;
$custom-dark: #000000;
JSON
{
  "hex": "#285f13",
  "rgb": {
    "r": 40,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 103.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.12112,
    "h": 138.7
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#285F13
secondary
#7C3797
accent
#3EEABA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285F13

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

Preview Lab → · Contrast checker → · Palette generator →

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