#285319#285319

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

Color values

HEX#285319
RGBrgb(40, 83, 25)
HSLhsl(104, 54%, 21%)
HSVhsv(104, 70%, 33%)
CMYKcmyk(51.8%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.13, -27.18, 28.53)
CIE-LCHlch(31.13, 39.40, 133.61°)
OKLaboklab(39.72% -0.0748 0.066)
OKLCHoklch(39.72% 0.1 138.6)
XYZxyz(4.1436, 6.7075, 1.9959)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285319 #441953
analogous
#455319 #285319 #195327
triadic
#285319 #192853 #531928
tetradic
#285319 #194553 #441953 #532719
square
#285319 #194553 #441953 #532719
split-complementary
#285319 #271953 #531945
monochromatic
#0B1807 #11240B #285319 #3F8227 #55B135

Accessibility & contrast

On white

8.97
#285319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #285319
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285319#FFFFFF#000000##FFFFFF
##2853191.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #285319;
/* rgb */ color: rgb(40, 83, 25);
/* oklch */ color: oklch(39.7% 0.100 138.6);
Tailwind
colors: {
  custom: {
    50: '#668459',
    500: '#285319',
    950: '#000000',
  },
}
SCSS
$custom: #285319;
$custom-light: #668459;
$custom-dark: #000000;
JSON
{
  "hex": "#285319",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 104.483,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39719,
    "c": 0.09976,
    "h": 138.6
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#285319
secondary
#763E89
accent
#4BDDB7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #285319

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

Preview Lab → · Contrast checker → · Palette generator →

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