#285219#285219

#285219 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.098 H 138.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#285219
RGBrgb(40, 82, 25)
HSLhsl(104, 53%, 21%)
HSVhsv(104, 70%, 32%)
CMYKcmyk(51.2%, 0%, 69.5%, 67.8%)
CIE-LABlab(30.77, -26.71, 28.13)
CIE-LCHlch(30.77, 38.80, 133.52°)
OKLaboklab(39.42% -0.0736 0.0651)
OKLCHoklch(39.42% 0.098 138.5)
XYZxyz(4.0677, 6.5556, 1.9705)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285219 #431952
analogous
#445219 #285219 #195226
triadic
#285219 #192852 #521928
tetradic
#285219 #194452 #431952 #522619
square
#285219 #194452 #431952 #522619
split-complementary
#285219 #261952 #521944
monochromatic
#0B1707 #11230B #285219 #3F8127 #56B036

Accessibility & contrast

On white

9.09
#285219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#285219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285219
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285219#FFFFFF#000000##FFFFFF
##2852191.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B12
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#254F46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285219;
/* rgb */ color: rgb(40, 82, 25);
/* oklch */ color: oklch(39.4% 0.098 138.5);
Tailwind
colors: {
  custom: {
    50: '#668358',
    500: '#285219',
    950: '#000000',
  },
}
SCSS
$custom: #285219;
$custom-light: #668358;
$custom-dark: #000000;
JSON
{
  "hex": "#285219",
  "rgb": {
    "r": 40,
    "g": 82,
    "b": 25
  },
  "hsl": {
    "h": 104.211,
    "s": 53.271,
    "l": 20.98
  },
  "oklch": {
    "l": 0.39425,
    "c": 0.09826,
    "h": 138.5
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#285219
secondary
#753E88
accent
#4BDDB6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #285219

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

Preview Lab → · Contrast checker → · Palette generator →

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