#285317#285317

#285317 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.101 H 138.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#285317
RGBrgb(40, 83, 23)
HSLhsl(103, 57%, 21%)
HSVhsv(103, 72%, 33%)
CMYKcmyk(51.8%, 0%, 72.3%, 67.5%)
CIE-LABlab(31.11, -27.39, 29.48)
CIE-LCHlch(31.11, 40.24, 132.90°)
OKLaboklab(39.7% -0.0756 0.0677)
OKLCHoklch(39.7% 0.101 138.1)
XYZxyz(4.1228, 6.6992, 1.8863)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285317 #421753
analogous
#465317 #285317 #175324
triadic
#285317 #172853 #531728
tetradic
#285317 #174653 #421753 #532417
square
#285317 #174653 #421753 #532417
split-complementary
#285317 #241753 #531746
monochromatic
#0C1807 #11230A #285317 #3F8324 #56B332

Accessibility & contrast

On white

8.98
#285317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#285317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285317
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285317#FFFFFF#000000##FFFFFF
##2853171.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B0F
Deuteranopia (green-blind)
#50481C
Tritanopia (blue-blind)
#255047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #285317;
/* rgb */ color: rgb(40, 83, 23);
/* oklch */ color: oklch(39.7% 0.101 138.1);
Tailwind
colors: {
  custom: {
    50: '#668457',
    500: '#285317',
    950: '#000000',
  },
}
SCSS
$custom: #285317;
$custom-light: #668457;
$custom-dark: #000000;
JSON
{
  "hex": "#285317",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 23
  },
  "hsl": {
    "h": 103,
    "s": 56.604,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39697,
    "c": 0.10146,
    "h": 138.1
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#285317
secondary
#743C8A
accent
#48E0B5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285317

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

Preview Lab → · Contrast checker → · Palette generator →

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