#285714#285714

#285714 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.110 H 138.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#285714
RGBrgb(40, 87, 20)
HSLhsl(102, 63%, 21%)
HSVhsv(102, 77%, 34%)
CMYKcmyk(54%, 0%, 77%, 65.9%)
CIE-LABlab(32.52, -29.48, 32.31)
CIE-LCHlch(32.52, 43.74, 132.37°)
OKLaboklab(40.85% -0.0814 0.0732)
OKLCHoklch(40.85% 0.11 138)
XYZxyz(4.4094, 7.3177, 1.8418)
Luminance0.0732 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285714 #431457
analogous
#495714 #285714 #145721
triadic
#285714 #142857 #571428
tetradic
#285714 #144957 #431457 #572114
square
#285714 #144957 #431457 #572114
split-complementary
#285714 #211457 #571449
monochromatic
#0B1906 #112509 #285714 #3F891F #56BB2B

Accessibility & contrast

On white

8.52
#285714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#285714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285714
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285714#FFFFFF#000000##FFFFFF
##2857141.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#25544A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #285714;
/* rgb */ color: rgb(40, 87, 20);
/* oklch */ color: oklch(40.8% 0.110 138.0);
Tailwind
colors: {
  custom: {
    50: '#678756',
    500: '#285714',
    950: '#000000',
  },
}
SCSS
$custom: #285714;
$custom-light: #678756;
$custom-dark: #000000;
JSON
{
  "hex": "#285714",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 102.09,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40845,
    "c": 0.10952,
    "h": 138
  },
  "luminance": 0.07318
}

Semantic roles & 50–950 ramp

primary
#285714
secondary
#75388F
accent
#42E6B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285714

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

Preview Lab → · Contrast checker → · Palette generator →

#285714 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva