#283F38#283F38

#283F38 is a dark, muted teal. Relative luminance 0.043; OKLCH L 34.6% C 0.031 H 173.4°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#283F38
RGBrgb(40, 63, 56)
HSLhsl(162, 22%, 20%)
HSVhsv(162, 37%, 25%)
CMYKcmyk(36.5%, 0%, 11.1%, 75.3%)
CIE-LABlab(24.61, -10.86, 1.43)
CIE-LCHlch(24.61, 10.95, 172.48°)
OKLaboklab(34.61% -0.0312 0.0036)
OKLCHoklch(34.61% 0.031 173.4)
XYZxyz(3.3661, 4.2915, 4.3916)
Luminance0.0429 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F38 #3F282F
analogous
#283F2C #283F38 #283A3F
triadic
#283F38 #38283F #3F3828
tetradic
#283F38 #2C283F #3F282F #3A3F28
square
#283F38 #2C283F #3F282F #3A3F28
split-complementary
#283F38 #3F283A #3F2C28
monochromatic
#0C1311 #101A17 #283F38 #406459 #588A7B

Accessibility & contrast

On white

11.30
#283F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F38
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F38#FFFFFF#000000##FFFFFF
##283F381.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3C38
Deuteranopia (green-blind)
#393938
Tritanopia (blue-blind)
#223F3D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283f38;
/* rgb */ color: rgb(40, 63, 56);
/* oklch */ color: oklch(34.6% 0.031 173.4);
Tailwind
colors: {
  custom: {
    50: '#63746e',
    500: '#283f38',
    950: '#000000',
  },
}
SCSS
$custom: #283f38;
$custom-light: #63746e;
$custom-dark: #000000;
JSON
{
  "hex": "#283f38",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 56
  },
  "hsl": {
    "h": 161.739,
    "s": 22.33,
    "l": 20.196
  },
  "oklch": {
    "l": 0.34613,
    "c": 0.03143,
    "h": 173.4
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#283F38
secondary
#71525B
accent
#6983BF
background
#F5F7F6
surface
#EAEDEB
border
#C6C8C6
text
#050807
muted
#797B7A

Preview Lab

Preview with #283F38

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

Preview Lab → · Contrast checker → · Palette generator →

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