#283F26#283F26

#283F26 is a dark, muted green. Relative luminance 0.041; OKLCH L 34.1% C 0.052 H 142.5°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#283F26
RGBrgb(40, 63, 38)
HSLhsl(115, 25%, 20%)
HSVhsv(115, 40%, 25%)
CMYKcmyk(36.5%, 0%, 39.7%, 75.3%)
CIE-LABlab(24.15, -15.00, 12.56)
CIE-LCHlch(24.15, 19.56, 140.05°)
OKLaboklab(34.09% -0.0409 0.0314)
OKLCHoklch(34.09% 0.052 142.5)
XYZxyz(3.0023, 4.1459, 2.4754)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F26 #3D263F
analogous
#353F26 #283F26 #263F31
triadic
#283F26 #26283F #3F2628
tetradic
#283F26 #26353F #3D263F #3F3126
square
#283F26 #26353F #3D263F #3F3126
split-complementary
#283F26 #31263F #3F2635
monochromatic
#0C130C #10190F #283F26 #40653D #588B54

Accessibility & contrast

On white

11.48
#283F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#283F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F26
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F26#FFFFFF#000000##FFFFFF
##283F261.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B24
Deuteranopia (green-blind)
#3D3927
Tritanopia (blue-blind)
#263E39
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f26;
/* rgb */ color: rgb(40, 63, 38);
/* oklch */ color: oklch(34.1% 0.052 142.5);
Tailwind
colors: {
  custom: {
    50: '#637460',
    500: '#283f26',
    950: '#000000',
  },
}
SCSS
$custom: #283f26;
$custom-light: #637460;
$custom-dark: #000000;
JSON
{
  "hex": "#283f26",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 38
  },
  "hsl": {
    "h": 115.2,
    "s": 24.752,
    "l": 19.804
  },
  "oklch": {
    "l": 0.34086,
    "c": 0.05156,
    "h": 142.5
  },
  "luminance": 0.04146
}

Semantic roles & 50–950 ramp

primary
#283F26
secondary
#6E5071
accent
#67C1BA
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050805
muted
#797B79

Preview Lab

Preview with #283F26

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

Preview Lab → · Contrast checker → · Palette generator →

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