#284E15#284E15

#284E15 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.2% C 0.096 H 136.9°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#284E15
RGBrgb(40, 78, 21)
HSLhsl(100, 58%, 19%)
HSVhsv(100, 73%, 31%)
CMYKcmyk(48.7%, 0%, 73.1%, 69.4%)
CIE-LABlab(29.30, -25.26, 28.49)
CIE-LCHlch(29.30, 38.07, 131.56°)
OKLaboklab(38.2% -0.0699 0.0653)
OKLCHoklch(38.2% 0.096 136.9)
XYZxyz(3.7347, 5.9538, 1.6617)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284E15 #3B154E
analogous
#454E15 #284E15 #154E1F
triadic
#284E15 #15284E #4E1528
tetradic
#284E15 #15454E #3B154E #4E1F15
square
#284E15 #15454E #3B154E #4E1F15
split-complementary
#284E15 #1F154E #4E1545
monochromatic
#0C1806 #0F1E08 #284E15 #417E22 #59AE2F

Accessibility & contrast

On white

9.59
#284E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#284E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284E15
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284E15#FFFFFF#000000##FFFFFF
##284E151.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470D
Deuteranopia (green-blind)
#4C441A
Tritanopia (blue-blind)
#264B42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284e15;
/* rgb */ color: rgb(40, 78, 21);
/* oklch */ color: oklch(38.2% 0.096 136.9);
Tailwind
colors: {
  custom: {
    50: '#668056',
    500: '#284e15',
    950: '#000000',
  },
}
SCSS
$custom: #284e15;
$custom-light: #668056;
$custom-dark: #000000;
JSON
{
  "hex": "#284e15",
  "rgb": {
    "r": 40,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 100,
    "s": 57.576,
    "l": 19.412
  },
  "oklch": {
    "l": 0.382,
    "c": 0.09571,
    "h": 136.9
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#284E15
secondary
#6C3986
accent
#47E1AE
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #284E15

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

Preview Lab → · Contrast checker → · Palette generator →

#284E15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva