#283F28#283F28

#283F28 is a dark, muted green. Relative luminance 0.042; OKLCH L 34.1% C 0.049 H 144.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#283F28
RGBrgb(40, 63, 40)
HSLhsl(120, 22%, 20%)
HSVhsv(120, 37%, 25%)
CMYKcmyk(36.5%, 0%, 36.5%, 75.3%)
CIE-LABlab(24.19, -14.60, 11.34)
CIE-LCHlch(24.19, 18.48, 142.18°)
OKLaboklab(34.13% -0.0398 0.0285)
OKLCHoklch(34.13% 0.049 144.4)
XYZxyz(3.0355, 4.1592, 2.6499)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F28 #3F283F
analogous
#333F28 #283F28 #283F33
triadic
#283F28 #28283F #3F2828
tetradic
#283F28 #28333F #3F283F #3F3328
square
#283F28 #28333F #3F283F #3F3328
split-complementary
#283F28 #33283F #3F2833
monochromatic
#0C130C #101A10 #283F28 #406440 #588A58

Accessibility & contrast

On white

11.46
#283F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F28
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F28#FFFFFF#000000##FFFFFF
##283F281.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f28;
/* rgb */ color: rgb(40, 63, 40);
/* oklch */ color: oklch(34.1% 0.049 144.4);
Tailwind
colors: {
  custom: {
    50: '#637462',
    500: '#283f28',
    950: '#000000',
  },
}
SCSS
$custom: #283f28;
$custom-light: #637462;
$custom-dark: #000000;
JSON
{
  "hex": "#283f28",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 120,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34134,
    "c": 0.04898,
    "h": 144.4
  },
  "luminance": 0.04159
}

Semantic roles & 50–950 ramp

primary
#283F28
secondary
#715271
accent
#69BFBF
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #283F28

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

Preview Lab → · Contrast checker → · Palette generator →

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