#285E13#285E13

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

Color values

HEX#285E13
RGBrgb(40, 94, 19)
HSLhsl(103, 66%, 22%)
HSVhsv(103, 80%, 37%)
CMYKcmyk(57.4%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.01, -32.58, 35.23)
CIE-LCHlch(35.01, 47.99, 132.76°)
OKLaboklab(42.89% -0.0899 0.0792)
OKLCHoklch(42.89% 0.12 138.6)
XYZxyz(4.9951, 8.5031, 1.9940)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E13 #49135E
analogous
#4E5E13 #285E13 #135E24
triadic
#285E13 #13285E #5E1328
tetradic
#285E13 #134E5E #49135E #5E2413
square
#285E13 #134E5E #49135E #5E2413
split-complementary
#285E13 #24135E #5E134E
monochromatic
#0B1905 #122B09 #285E13 #3E911D #53C428

Accessibility & contrast

On white

7.78
#285E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285E13
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E13#FFFFFF#000000##FFFFFF
##285E131.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615505
Deuteranopia (green-blind)
#5A511B
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e13;
/* rgb */ color: rgb(40, 94, 19);
/* oklch */ color: oklch(42.9% 0.120 138.6);
Tailwind
colors: {
  custom: {
    50: '#698c57',
    500: '#285e13',
    950: '#000000',
  },
}
SCSS
$custom: #285e13;
$custom-light: #698c57;
$custom-dark: #000000;
JSON
{
  "hex": "#285e13",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 103.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42893,
    "c": 0.11978,
    "h": 138.6
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#285E13
secondary
#7B3796
accent
#3FE9B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E13

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

Preview Lab → · Contrast checker → · Palette generator →

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