#284826#284826

#284826 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.7% C 0.068 H 142.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#284826
RGBrgb(40, 72, 38)
HSLhsl(116, 31%, 22%)
HSVhsv(116, 47%, 28%)
CMYKcmyk(44.4%, 0%, 47.2%, 71.8%)
CIE-LABlab(27.37, -19.92, 16.77)
CIE-LCHlch(27.37, 26.04, 139.90°)
OKLaboklab(36.7% -0.0543 0.0412)
OKLCHoklch(36.7% 0.068 142.8)
XYZxyz(3.5421, 5.2256, 2.6553)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284826 #462648
analogous
#394826 #284826 #264835
triadic
#284826 #262848 #482628
tetradic
#284826 #263948 #462648 #483526
square
#284826 #263948 #462648 #483526
split-complementary
#284826 #352648 #482639
monochromatic
#0B140B #122011 #284826 #3E703B #559850

Accessibility & contrast

On white

10.27
#284826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#284826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284826
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284826#FFFFFF#000000##FFFFFF
##2848261.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494323
Deuteranopia (green-blind)
#453F28
Tritanopia (blue-blind)
#254640
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #284826;
/* rgb */ color: rgb(40, 72, 38);
/* oklch */ color: oklch(36.7% 0.068 142.8);
Tailwind
colors: {
  custom: {
    50: '#647b61',
    500: '#284826',
    950: '#000000',
  },
}
SCSS
$custom: #284826;
$custom-light: #647b61;
$custom-dark: #000000;
JSON
{
  "hex": "#284826",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 38
  },
  "hsl": {
    "h": 116.471,
    "s": 30.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.06818,
    "h": 142.8
  },
  "luminance": 0.05226
}

Semantic roles & 50–950 ramp

primary
#284826
secondary
#784F7B
accent
#61C7C1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050905
muted
#7A7B79

Preview Lab

Preview with #284826

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

Preview Lab → · Contrast checker → · Palette generator →

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