#284331#284331

#284331 is a dark, muted green. Relative luminance 0.047; OKLCH L 35.5% C 0.046 H 154.3°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#284331
RGBrgb(40, 67, 49)
HSLhsl(140, 25%, 21%)
HSVhsv(140, 40%, 26%)
CMYKcmyk(40.3%, 0%, 26.9%, 73.7%)
CIE-LABlab(25.82, -14.94, 7.75)
CIE-LCHlch(25.82, 16.83, 152.59°)
OKLaboklab(35.52% -0.0411 0.0198)
OKLCHoklch(35.52% 0.046 154.3)
XYZxyz(3.4364, 4.6870, 3.6287)
Luminance0.0469 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284331 #43283A
analogous
#2C4328 #284331 #28433E
triadic
#284331 #312843 #433128
tetradic
#284331 #282C43 #43283A #433E28
square
#284331 #282C43 #43283A #433E28
split-complementary
#284331 #3E2843 #43282C
monochromatic
#0B130E #111D15 #284331 #3F694D #569069

Accessibility & contrast

On white

10.84
#284331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#284331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284331
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284331#FFFFFF#000000##FFFFFF
##2843311.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F30
Deuteranopia (green-blind)
#3F3C32
Tritanopia (blue-blind)
#23423E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #284331;
/* rgb */ color: rgb(40, 67, 49);
/* oklch */ color: oklch(35.5% 0.046 154.3);
Tailwind
colors: {
  custom: {
    50: '#637769',
    500: '#284331',
    950: '#000000',
  },
}
SCSS
$custom: #284331;
$custom-light: #637769;
$custom-dark: #000000;
JSON
{
  "hex": "#284331",
  "rgb": {
    "r": 40,
    "g": 67,
    "b": 49
  },
  "hsl": {
    "h": 140,
    "s": 25.234,
    "l": 20.98
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.04563,
    "h": 154.3
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#284331
secondary
#755269
accent
#66A3C2
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050806
muted
#797B7A

Preview Lab

Preview with #284331

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

Preview Lab → · Contrast checker → · Palette generator →

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