#283F22#283F22

#283F22 is a dark, muted green. Relative luminance 0.041; OKLCH L 34.0% C 0.057 H 139.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#283F22
RGBrgb(40, 63, 34)
HSLhsl(108, 30%, 19%)
HSVhsv(108, 46%, 25%)
CMYKcmyk(36.5%, 0%, 46%, 75.3%)
CIE-LABlab(24.07, -15.74, 15.00)
CIE-LCHlch(24.07, 21.74, 136.38°)
OKLaboklab(34% -0.043 0.037)
OKLCHoklch(34% 0.057 139.3)
XYZxyz(2.9412, 4.1215, 2.1536)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F22 #39223F
analogous
#373F22 #283F22 #223F2B
triadic
#283F22 #22283F #3F2228
tetradic
#283F22 #22373F #39223F #3F2B22
square
#283F22 #22373F #39223F #3F2B22
split-complementary
#283F22 #2B223F #3F2237
monochromatic
#0D140B #0F170D #283F22 #416737 #5A8E4D

Accessibility & contrast

On white

11.51
#283F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#283F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F22
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F22#FFFFFF#000000##FFFFFF
##283F221.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B20
Deuteranopia (green-blind)
#3D3824
Tritanopia (blue-blind)
#273D38
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f22;
/* rgb */ color: rgb(40, 63, 34);
/* oklch */ color: oklch(34.0% 0.057 139.3);
Tailwind
colors: {
  custom: {
    50: '#63745d',
    500: '#283f22',
    950: '#000000',
  },
}
SCSS
$custom: #283f22;
$custom-light: #63745d;
$custom-dark: #000000;
JSON
{
  "hex": "#283f22",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 34
  },
  "hsl": {
    "h": 107.586,
    "s": 29.897,
    "l": 19.02
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.0567,
    "h": 139.3
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#283F22
secondary
#6A4B72
accent
#62C6B1
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F22

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

Preview Lab → · Contrast checker → · Palette generator →

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