#283F1D#283F1D

#283F1D is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.9% C 0.063 H 136.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#283F1D
RGBrgb(40, 63, 29)
HSLhsl(101, 37%, 18%)
HSVhsv(101, 54%, 25%)
CMYKcmyk(36.5%, 0%, 54%, 75.3%)
CIE-LABlab(23.98, -16.56, 17.98)
CIE-LCHlch(23.98, 24.44, 132.65°)
OKLaboklab(33.9% -0.0455 0.0435)
OKLCHoklch(33.9% 0.063 136.3)
XYZxyz(2.8743, 4.0947, 1.8011)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F1D #341D3F
analogous
#393F1D #283F1D #1D3F23
triadic
#283F1D #1D283F #3F1D28
tetradic
#283F1D #1D393F #341D3F #3F231D
square
#283F1D #1D393F #341D3F #3F231D
split-complementary
#283F1D #231D3F #3F1D39
monochromatic
#0D150A #0D150A #283F1D #436930 #5D9344

Accessibility & contrast

On white

11.54
#283F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F1D
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F1D#FFFFFF#000000##FFFFFF
##283F1D1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1A
Deuteranopia (green-blind)
#3E381F
Tritanopia (blue-blind)
#273D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f1d;
/* rgb */ color: rgb(40, 63, 29);
/* oklch */ color: oklch(33.9% 0.063 136.3);
Tailwind
colors: {
  custom: {
    50: '#637459',
    500: '#283f1d',
    950: '#000000',
  },
}
SCSS
$custom: #283f1d;
$custom-light: #637459;
$custom-dark: #000000;
JSON
{
  "hex": "#283f1d",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 29
  },
  "hsl": {
    "h": 100.588,
    "s": 36.957,
    "l": 18.039
  },
  "oklch": {
    "l": 0.33897,
    "c": 0.06293,
    "h": 136.3
  },
  "luminance": 0.04095
}

Semantic roles & 50–950 ramp

primary
#283F1D
secondary
#644474
accent
#5BCDA8
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#050803
muted
#7A7B78

Preview Lab

Preview with #283F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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