#283A26#283A26

#283A26 is a dark, muted green. Relative luminance 0.036; OKLCH L 32.6% C 0.042 H 142.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#283A26
RGBrgb(40, 58, 38)
HSLhsl(114, 21%, 19%)
HSVhsv(114, 34%, 23%)
CMYKcmyk(31%, 0%, 34.5%, 77.3%)
CIE-LABlab(22.36, -12.09, 10.17)
CIE-LCHlch(22.36, 15.79, 139.93°)
OKLaboklab(32.64% -0.0329 0.0257)
OKLCHoklch(32.64% 0.042 142.1)
XYZxyz(2.7379, 3.6171, 2.3873)
Luminance0.0362 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A26 #38263A
analogous
#323A26 #283A26 #263A2E
triadic
#283A26 #26283A #3A2628
tetradic
#283A26 #26323A #38263A #3A2E26
square
#283A26 #26323A #38263A #3A2E26
split-complementary
#283A26 #2E263A #3A2632
monochromatic
#0D120C #0F150E #283A26 #425F3E #5B8456

Accessibility & contrast

On white

12.19
#283A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A26
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A26#FFFFFF#000000##FFFFFF
##283A261.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3725
Deuteranopia (green-blind)
#383527
Tritanopia (blue-blind)
#273935
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283a26;
/* rgb */ color: rgb(40, 58, 38);
/* oklch */ color: oklch(32.6% 0.042 142.1);
Tailwind
colors: {
  custom: {
    50: '#627060',
    500: '#283a26',
    950: '#000000',
  },
}
SCSS
$custom: #283a26;
$custom-light: #627060;
$custom-dark: #000000;
JSON
{
  "hex": "#283a26",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 38
  },
  "hsl": {
    "h": 114,
    "s": 20.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.32644,
    "c": 0.04176,
    "h": 142.1
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#283A26
secondary
#69506C
accent
#6ABDB5
background
#F5F6F5
surface
#EAECE9
border
#C6C7C5
text
#050705
muted
#797A79

Preview Lab

Preview with #283A26

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

Preview Lab → · Contrast checker → · Palette generator →

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