#285E14#285E14

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

Color values

HEX#285E14
RGBrgb(40, 94, 20)
HSLhsl(104, 65%, 22%)
HSVhsv(104, 79%, 37%)
CMYKcmyk(57.4%, 0%, 78.7%, 63.1%)
CIE-LABlab(35.02, -32.50, 34.84)
CIE-LCHlch(35.02, 47.65, 133.01°)
OKLaboklab(42.9% -0.0896 0.0785)
OKLCHoklch(42.9% 0.119 138.8)
XYZxyz(5.0039, 8.5066, 2.0399)
Luminance0.0851 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E14 #4A145E
analogous
#4D5E14 #285E14 #145E25
triadic
#285E14 #14285E #5E1428
tetradic
#285E14 #144D5E #4A145E #5E2514
square
#285E14 #144D5E #4A145E #5E2514
split-complementary
#285E14 #25145E #5E144D
monochromatic
#0B1905 #132C09 #285E14 #3D901F #53C329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##285E14#FFFFFF#000000##FFFFFF
##285E141.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)
#615506
Deuteranopia (green-blind)
#5A511C
Tritanopia (blue-blind)
#235B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #285e14;
/* rgb */ color: rgb(40, 94, 20);
/* oklch */ color: oklch(42.9% 0.119 138.8);
Tailwind
colors: {
  custom: {
    50: '#698c57',
    500: '#285e14',
    950: '#000000',
  },
}
SCSS
$custom: #285e14;
$custom-light: #698c57;
$custom-dark: #000000;
JSON
{
  "hex": "#285e14",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 20
  },
  "hsl": {
    "h": 103.784,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42901,
    "c": 0.11913,
    "h": 138.8
  },
  "luminance": 0.08507
}

Semantic roles & 50–950 ramp

primary
#285E14
secondary
#7C3896
accent
#40E8BA
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #285E14

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

Preview Lab → · Contrast checker → · Palette generator →

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