#283F29#283F29

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

Color values

HEX#283F29
RGBrgb(40, 63, 41)
HSLhsl(123, 22%, 20%)
HSVhsv(123, 37%, 25%)
CMYKcmyk(36.5%, 0%, 34.9%, 75.3%)
CIE-LABlab(24.21, -14.40, 10.72)
CIE-LCHlch(24.21, 17.95, 143.33°)
OKLaboklab(34.16% -0.0393 0.027)
OKLCHoklch(34.16% 0.048 145.5)
XYZxyz(3.0527, 4.1661, 2.7407)
Luminance0.0417 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F29 #3F283E
analogous
#323F28 #283F29 #283F34
triadic
#283F29 #29283F #3F2928
tetradic
#283F29 #28323F #3F283E #3F3428
square
#283F29 #28323F #3F283E #3F3428
split-complementary
#283F29 #34283F #3F2832
monochromatic
#0C130C #101A11 #283F29 #406441 #588A5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F29#FFFFFF#000000##FFFFFF
##283F291.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)
#403B28
Deuteranopia (green-blind)
#3C392A
Tritanopia (blue-blind)
#253E39
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f29;
/* rgb */ color: rgb(40, 63, 41);
/* oklch */ color: oklch(34.2% 0.048 145.5);
Tailwind
colors: {
  custom: {
    50: '#637462',
    500: '#283f29',
    950: '#000000',
  },
}
SCSS
$custom: #283f29;
$custom-light: #637462;
$custom-dark: #000000;
JSON
{
  "hex": "#283f29",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 41
  },
  "hsl": {
    "h": 122.609,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34159,
    "c": 0.0477,
    "h": 145.5
  },
  "luminance": 0.04166
}

Semantic roles & 50–950 ramp

primary
#283F29
secondary
#71526F
accent
#69BBBF
background
#F5F7F5
surface
#EAEDEA
border
#C6C8C6
text
#050805
muted
#797B79

Preview Lab

Preview with #283F29

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

Preview Lab → · Contrast checker → · Palette generator →

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