#283A28#283A28

#283A28 is a dark, muted green. Relative luminance 0.036; OKLCH L 32.7% C 0.039 H 144.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#283A28
RGBrgb(40, 58, 40)
HSLhsl(120, 18%, 19%)
HSVhsv(120, 31%, 23%)
CMYKcmyk(31%, 0%, 31%, 77.3%)
CIE-LABlab(22.41, -11.67, 8.91)
CIE-LCHlch(22.41, 14.69, 142.63°)
OKLaboklab(32.7% -0.0319 0.0226)
OKLCHoklch(32.7% 0.039 144.6)
XYZxyz(2.7710, 3.6303, 2.5618)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A28 #3A283A
analogous
#313A28 #283A28 #283A31
triadic
#283A28 #28283A #3A2828
tetradic
#283A28 #28313A #3A283A #3A3128
square
#283A28 #28313A #3A283A #3A3128
split-complementary
#283A28 #31283A #3A2831
monochromatic
#0C120C #0F160F #283A28 #415E41 #5A825A

Accessibility & contrast

On white

12.17
#283A28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#283A28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A28
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A28#FFFFFF#000000##FFFFFF
##283A281.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3727
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#263935
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #283a28;
/* rgb */ color: rgb(40, 58, 40);
/* oklch */ color: oklch(32.7% 0.039 144.6);
Tailwind
colors: {
  custom: {
    50: '#627062',
    500: '#283a28',
    950: '#000000',
  },
}
SCSS
$custom: #283a28;
$custom-light: #627062;
$custom-dark: #000000;
JSON
{
  "hex": "#283a28",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 18.367,
    "l": 19.216
  },
  "oklch": {
    "l": 0.32697,
    "c": 0.03909,
    "h": 144.6
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#283A28
secondary
#6B536B
accent
#6DBBBB
background
#F5F6F5
surface
#EAECEA
border
#C6C7C6
text
#050705
muted
#797A79

Preview Lab

Preview with #283A28

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

Preview Lab → · Contrast checker → · Palette generator →

#283A28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva