#285121#285121

#285121 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.089 H 140.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#285121
RGBrgb(40, 81, 33)
HSLhsl(111, 42%, 22%)
HSVhsv(111, 59%, 32%)
CMYKcmyk(50.6%, 0%, 59.3%, 68.2%)
CIE-LABlab(30.51, -25.23, 23.60)
CIE-LCHlch(30.51, 34.55, 136.92°)
OKLaboklab(39.24% -0.069 0.0562)
OKLCHoklch(39.24% 0.089 140.8)
XYZxyz(4.0918, 6.4455, 2.4670)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285121 #4A2151
analogous
#405121 #285121 #215132
triadic
#285121 #212851 #512128
tetradic
#285121 #214051 #4A2151 #513221
square
#285121 #214051 #4A2151 #513221
split-complementary
#285121 #322151 #512140
monochromatic
#0B1609 #13260F #285121 #3D7C33 #53A844

Accessibility & contrast

On white

9.17
#285121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#285121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285121
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285121#FFFFFF#000000##FFFFFF
##2851211.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534A1D
Deuteranopia (green-blind)
#4D4624
Tritanopia (blue-blind)
#244E46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #285121;
/* rgb */ color: rgb(40, 81, 33);
/* oklch */ color: oklch(39.2% 0.089 140.8);
Tailwind
colors: {
  custom: {
    50: '#65825e',
    500: '#285121',
    950: '#000000',
  },
}
SCSS
$custom: #285121;
$custom-light: #65825e;
$custom-dark: #000000;
JSON
{
  "hex": "#285121",
  "rgb": {
    "r": 40,
    "g": 81,
    "b": 33
  },
  "hsl": {
    "h": 111.25,
    "s": 42.105,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.08899,
    "h": 140.8
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#285121
secondary
#7C4985
accent
#56D2C0
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #285121

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

Preview Lab → · Contrast checker → · Palette generator →

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