#283F21#283F21

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

Color values

HEX#283F21
RGBrgb(40, 63, 33)
HSLhsl(106, 31%, 19%)
HSVhsv(106, 48%, 25%)
CMYKcmyk(36.5%, 0%, 47.6%, 75.3%)
CIE-LABlab(24.05, -15.91, 15.60)
CIE-LCHlch(24.05, 22.28, 135.57°)
OKLaboklab(33.98% -0.0435 0.0383)
OKLCHoklch(33.98% 0.058 138.6)
XYZxyz(2.9270, 4.1158, 2.0788)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F21 #38213F
analogous
#373F21 #283F21 #213F29
triadic
#283F21 #21283F #3F2128
tetradic
#283F21 #21373F #38213F #3F2921
square
#283F21 #21373F #38213F #3F2921
split-complementary
#283F21 #29213F #3F2137
monochromatic
#0D140B #0F170C #283F21 #426736 #5B8F4B

Accessibility & contrast

On white

11.52
#283F21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F21
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F21#FFFFFF#000000##FFFFFF
##283F211.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f21;
/* rgb */ color: rgb(40, 63, 33);
/* oklch */ color: oklch(34.0% 0.058 138.6);
Tailwind
colors: {
  custom: {
    50: '#63745c',
    500: '#283f21',
    950: '#000000',
  },
}
SCSS
$custom: #283f21;
$custom-light: #63745c;
$custom-dark: #000000;
JSON
{
  "hex": "#283f21",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 33
  },
  "hsl": {
    "h": 106,
    "s": 31.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.33975,
    "c": 0.05797,
    "h": 138.6
  },
  "luminance": 0.04116
}

Semantic roles & 50–950 ramp

primary
#283F21
secondary
#694972
accent
#60C7AF
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F21

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

Preview Lab → · Contrast checker → · Palette generator →

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