#285E29#285E29

#285E29 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.2% C 0.101 H 143.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#285E29
RGBrgb(40, 94, 41)
HSLhsl(121, 40%, 26%)
HSVhsv(121, 57%, 37%)
CMYKcmyk(57.4%, 0%, 56.4%, 63.1%)
CIE-LABlab(35.23, -30.09, 24.85)
CIE-LCHlch(35.23, 39.02, 140.44°)
OKLaboklab(43.15% -0.0817 0.0596)
OKLCHoklch(43.15% 0.101 143.9)
XYZxyz(5.2777, 8.6162, 3.4824)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285E29 #5E285D
analogous
#425E28 #285E29 #285E44
triadic
#285E29 #29285E #5E2928
tetradic
#285E29 #28425E #5E285D #5E4428
square
#285E29 #28425E #5E285D #5E4428
split-complementary
#285E29 #44285E #5E2842
monochromatic
#091509 #163316 #285E29 #3A893C #4DB34F

Accessibility & contrast

On white

7.71
#285E29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#285E29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285E29
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285E29#FFFFFF#000000##FFFFFF
##285E291.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605624
Deuteranopia (green-blind)
#59512D
Tritanopia (blue-blind)
#205B52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #285e29;
/* rgb */ color: rgb(40, 94, 41);
/* oklch */ color: oklch(43.2% 0.101 143.9);
Tailwind
colors: {
  custom: {
    50: '#678c64',
    500: '#285e29',
    950: '#000000',
  },
}
SCSS
$custom: #285e29;
$custom-light: #678c64;
$custom-dark: #000000;
JSON
{
  "hex": "#285e29",
  "rgb": {
    "r": 40,
    "g": 94,
    "b": 41
  },
  "hsl": {
    "h": 121.111,
    "s": 40.299,
    "l": 26.275
  },
  "oklch": {
    "l": 0.43151,
    "c": 0.10116,
    "h": 143.9
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#285E29
secondary
#915190
accent
#58CED0
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #285E29

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

Preview Lab → · Contrast checker → · Palette generator →

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