#285C30#285C30

#285C30 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.7% C 0.091 H 147.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#285C30
RGBrgb(40, 92, 48)
HSLhsl(129, 39%, 26%)
HSVhsv(129, 57%, 36%)
CMYKcmyk(56.5%, 0%, 47.8%, 63.9%)
CIE-LABlab(34.64, -28.02, 20.13)
CIE-LCHlch(34.64, 34.50, 144.31°)
OKLaboklab(42.7% -0.076 0.0494)
OKLCHoklch(42.7% 0.091 147)
XYZxyz(5.2354, 8.3184, 4.1255)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285C30 #5C2854
analogous
#3A5C28 #285C30 #285C4A
triadic
#285C30 #30285C #5C3028
tetradic
#285C30 #283A5C #5C2854 #5C4A28
square
#285C30 #283A5C #5C2854 #5C4A28
split-complementary
#285C30 #4A285C #5C283A
monochromatic
#09150B #15311A #285C30 #3B8746 #4DB15D

Accessibility & contrast

On white

7.88
#285C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#285C30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285C30
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285C30#FFFFFF#000000##FFFFFF
##285C301.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D542D
Deuteranopia (green-blind)
#565033
Tritanopia (blue-blind)
#1E5A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285c30;
/* rgb */ color: rgb(40, 92, 48);
/* oklch */ color: oklch(42.7% 0.091 147.0);
Tailwind
colors: {
  custom: {
    50: '#678b69',
    500: '#285c30',
    950: '#000000',
  },
}
SCSS
$custom: #285c30;
$custom-light: #678b69;
$custom-dark: #000000;
JSON
{
  "hex": "#285c30",
  "rgb": {
    "r": 40,
    "g": 92,
    "b": 48
  },
  "hsl": {
    "h": 129.231,
    "s": 39.394,
    "l": 25.882
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.09061,
    "h": 147
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#285C30
secondary
#8F5185
accent
#59BDCF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #285C30

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

Preview Lab → · Contrast checker → · Palette generator →

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