#284D2E#284D2E

#284D2E is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.3% C 0.068 H 147.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#284D2E
RGBrgb(40, 77, 46)
HSLhsl(130, 32%, 23%)
HSVhsv(130, 48%, 30%)
CMYKcmyk(48.1%, 0%, 40.3%, 69.8%)
CIE-LABlab(29.30, -21.03, 14.38)
CIE-LCHlch(29.30, 25.48, 145.63°)
OKLaboklab(38.32% -0.0572 0.0359)
OKLCHoklch(38.32% 0.068 147.9)
XYZxyz(4.0219, 5.9559, 3.5219)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284D2E #4D2847
analogous
#344D28 #284D2E #284D40
triadic
#284D2E #2E284D #4D2E28
tetradic
#284D2E #28344D #4D2847 #4D4028
square
#284D2E #28344D #4D2847 #4D4028
split-complementary
#284D2E #40284D #4D2834
monochromatic
#0A140C #132516 #284D2E #3D7546 #529E5E

Accessibility & contrast

On white

9.58
#284D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #284D2E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284D2E#FFFFFF#000000##FFFFFF
##284D2E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E472C
Deuteranopia (green-blind)
#484430
Tritanopia (blue-blind)
#224C45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284d2e;
/* rgb */ color: rgb(40, 77, 46);
/* oklch */ color: oklch(38.3% 0.068 147.9);
Tailwind
colors: {
  custom: {
    50: '#647f67',
    500: '#284d2e',
    950: '#000000',
  },
}
SCSS
$custom: #284d2e;
$custom-light: #647f67;
$custom-dark: #000000;
JSON
{
  "hex": "#284d2e",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 46
  },
  "hsl": {
    "h": 129.73,
    "s": 31.624,
    "l": 22.941
  },
  "oklch": {
    "l": 0.38322,
    "c": 0.06755,
    "h": 147.9
  },
  "luminance": 0.05956
}

Semantic roles & 50–950 ramp

primary
#284D2E
secondary
#805178
accent
#60B7C8
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050A06
muted
#7A7C7A

Preview Lab

Preview with #284D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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