#283F27#283F27

#283F27 is a dark, muted green. Relative luminance 0.042; OKLCH L 34.1% C 0.050 H 143.4°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#283F27
RGBrgb(40, 63, 39)
HSLhsl(118, 24%, 20%)
HSVhsv(118, 38%, 25%)
CMYKcmyk(36.5%, 0%, 38.1%, 75.3%)
CIE-LABlab(24.17, -14.80, 11.95)
CIE-LCHlch(24.17, 19.02, 141.08°)
OKLaboklab(34.11% -0.0404 0.03)
OKLCHoklch(34.11% 0.05 143.4)
XYZxyz(3.0187, 4.1525, 2.5615)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F27 #3E273F
analogous
#343F27 #283F27 #273F32
triadic
#283F27 #27283F #3F2728
tetradic
#283F27 #27343F #3E273F #3F3227
square
#283F27 #27343F #3E273F #3F3227
split-complementary
#283F27 #32273F #3F2734
monochromatic
#0C130C #101910 #283F27 #40653E #588B56

Accessibility & contrast

On white

11.47
#283F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F27
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F27#FFFFFF#000000##FFFFFF
##283F271.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B25
Deuteranopia (green-blind)
#3D3928
Tritanopia (blue-blind)
#263E39
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f27;
/* rgb */ color: rgb(40, 63, 39);
/* oklch */ color: oklch(34.1% 0.050 143.4);
Tailwind
colors: {
  custom: {
    50: '#637461',
    500: '#283f27',
    950: '#000000',
  },
}
SCSS
$custom: #283f27;
$custom-light: #637461;
$custom-dark: #000000;
JSON
{
  "hex": "#283f27",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 39
  },
  "hsl": {
    "h": 117.5,
    "s": 23.529,
    "l": 20
  },
  "oklch": {
    "l": 0.3411,
    "c": 0.05026,
    "h": 143.4
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#283F27
secondary
#705171
accent
#68C0BC
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050805
muted
#797B79

Preview Lab

Preview with #283F27

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

Preview Lab → · Contrast checker → · Palette generator →

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