#283F2D

A color in the Green family

#283f2d is a color in the Green family: RGB(40, 63, 45), HSL(133°, 22%, 20%), CMYK(37%, 0%, 29%, 75%). Closest named color: darkslategray. Contrast is 11.42:1 on white and 1.84:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#283f2d
RGBrgb(40 63 45)
RGB (legacy)rgb(40, 63, 45)
RGB %rgb(16% 25% 18%)
HSLhsl(133 22% 20%)
HSV / HSBhsv(133, 37%, 25%)
HWBhwb(133 16% 75%)
CMYKcmyk(37%, 0%, 29%, 75%)
CIELAB (D50)lab(24.3 -12.8 8.1)
LCHlch(24.3 15.15 147.66)
OKLaboklab(0.3427 -0.0371 0.021)
OKLCHoklch(0.3427 0.0427 150.47)
Decimal2637613

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 6.8
Closest web-safe color#333333
Hue133°
Saturation (HSL / HSV)22% / 37%
Lightness (HSL)20%
Brightness or Value (HSV)25%
Luminance (Rec.601 / Rec.709)21% / 22%
Relative luminance (WCAG)0.042
Red / Green / Blue40 / 63 / 45

WCAG 2.2 Contrast Ratio

On White (#ffffff)
11.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.84:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 96.3 / 0 · As background with white / black text: Lc -100 / 7.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #283f2d;
  --color-brand-oklch: oklch(34.27% 0.0427 150.47);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(40 63 45 / 50%); }
/* Tailwind CSS */
<div class="bg-[#283f2d] text-[#283f2d] border-[#283f2d]">