#284227#284227

#284227 is a dark, muted green. Relative luminance 0.045; OKLCH L 35.0% C 0.056 H 143.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#284227
RGBrgb(40, 66, 39)
HSLhsl(118, 26%, 21%)
HSVhsv(118, 41%, 26%)
CMYKcmyk(39.4%, 0%, 40.9%, 74.1%)
CIE-LABlab(25.24, -16.49, 13.38)
CIE-LCHlch(25.24, 21.24, 140.95°)
OKLaboklab(34.98% -0.045 0.0333)
OKLCHoklch(34.98% 0.056 143.4)
XYZxyz(3.1894, 4.4939, 2.6184)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284227 #412742
analogous
#354227 #284227 #274233
triadic
#284227 #272842 #422728
tetradic
#284227 #273542 #412742 #423327
square
#284227 #273542 #412742 #423327
split-complementary
#284227 #332742 #422735
monochromatic
#0C130B #111C10 #284227 #3F683E #578F54

Accessibility & contrast

On white

11.06
#284227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#284227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284227
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284227#FFFFFF#000000##FFFFFF
##2842271.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D25
Deuteranopia (green-blind)
#3F3B29
Tritanopia (blue-blind)
#25403B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #284227;
/* rgb */ color: rgb(40, 66, 39);
/* oklch */ color: oklch(35.0% 0.056 143.4);
Tailwind
colors: {
  custom: {
    50: '#637661',
    500: '#284227',
    950: '#000000',
  },
}
SCSS
$custom: #284227;
$custom-light: #637661;
$custom-dark: #000000;
JSON
{
  "hex": "#284227",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 39
  },
  "hsl": {
    "h": 117.778,
    "s": 25.714,
    "l": 20.588
  },
  "oklch": {
    "l": 0.34977,
    "c": 0.05597,
    "h": 143.4
  },
  "luminance": 0.04494
}

Semantic roles & 50–950 ramp

primary
#284227
secondary
#735174
accent
#66C2BF
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050805
muted
#797B79

Preview Lab

Preview with #284227

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

Preview Lab → · Contrast checker → · Palette generator →

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