#283F20#283F20

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

Color values

HEX#283F20
RGBrgb(40, 63, 32)
HSLhsl(105, 33%, 19%)
HSVhsv(105, 49%, 25%)
CMYKcmyk(36.5%, 0%, 49.2%, 75.3%)
CIE-LABlab(24.03, -16.08, 16.20)
CIE-LCHlch(24.03, 22.82, 134.79°)
OKLaboklab(33.95% -0.044 0.0396)
OKLCHoklch(33.95% 0.059 138)
XYZxyz(2.9132, 4.1103, 2.0061)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F20 #37203F
analogous
#373F20 #283F20 #203F27
triadic
#283F20 #20283F #3F2028
tetradic
#283F20 #20373F #37203F #3F2720
square
#283F20 #20373F #37203F #3F2720
split-complementary
#283F20 #27203F #3F2037
monochromatic
#0D140A #0E160B #283F20 #426835 #5C9049

Accessibility & contrast

On white

11.53
#283F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F20
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F20#FFFFFF#000000##FFFFFF
##283F201.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1E
Deuteranopia (green-blind)
#3D3822
Tritanopia (blue-blind)
#273D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f20;
/* rgb */ color: rgb(40, 63, 32);
/* oklch */ color: oklch(34.0% 0.059 138.0);
Tailwind
colors: {
  custom: {
    50: '#63745c',
    500: '#283f20',
    950: '#000000',
  },
}
SCSS
$custom: #283f20;
$custom-light: #63745c;
$custom-dark: #000000;
JSON
{
  "hex": "#283f20",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 32
  },
  "hsl": {
    "h": 104.516,
    "s": 32.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.33954,
    "c": 0.05922,
    "h": 138
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#283F20
secondary
#684873
accent
#5FC9AD
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F20

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

Preview Lab → · Contrast checker → · Palette generator →

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