#284834#284834

#284834 is a dark, muted green. Relative luminance 0.053; OKLCH L 37.0% C 0.052 H 155.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#284834
RGBrgb(40, 72, 52)
HSLhsl(143, 29%, 22%)
HSVhsv(143, 44%, 28%)
CMYKcmyk(44.4%, 0%, 27.8%, 71.8%)
CIE-LABlab(27.66, -17.06, 8.37)
CIE-LCHlch(27.66, 19.00, 153.85°)
OKLaboklab(37.04% -0.0469 0.0214)
OKLCHoklch(37.04% 0.052 155.5)
XYZxyz(3.8120, 5.3335, 4.0768)
Luminance0.0533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284834 #48283C
analogous
#2C4828 #284834 #284844
triadic
#284834 #342848 #483428
tetradic
#284834 #282C48 #48283C #484428
square
#284834 #282C48 #48283C #484428
split-complementary
#284834 #442848 #48282C
monochromatic
#0B140E #122118 #284834 #3E6F50 #54976D

Accessibility & contrast

On white

10.16
#284834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#284834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284834
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284834#FFFFFF#000000##FFFFFF
##2848341.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484333
Deuteranopia (green-blind)
#434035
Tritanopia (blue-blind)
#214743
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284834;
/* rgb */ color: rgb(40, 72, 52);
/* oklch */ color: oklch(37.0% 0.052 155.5);
Tailwind
colors: {
  custom: {
    50: '#647b6b',
    500: '#284834',
    950: '#000000',
  },
}
SCSS
$custom: #284834;
$custom-light: #647b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#284834",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 52
  },
  "hsl": {
    "h": 142.5,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37037,
    "c": 0.05155,
    "h": 155.5
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#284834
secondary
#7A526B
accent
#63A0C5
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#050906
muted
#7A7B7A

Preview Lab

Preview with #284834

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

Preview Lab → · Contrast checker → · Palette generator →

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