#283F1F#283F1F

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

Color values

HEX#283F1F
RGBrgb(40, 63, 31)
HSLhsl(103, 34%, 18%)
HSVhsv(103, 51%, 25%)
CMYKcmyk(36.5%, 0%, 50.8%, 75.3%)
CIE-LABlab(24.02, -16.24, 16.79)
CIE-LCHlch(24.02, 23.36, 134.05°)
OKLaboklab(33.93% -0.0445 0.0409)
OKLCHoklch(33.93% 0.06 137.4)
XYZxyz(2.8998, 4.1049, 1.9356)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F1F #361F3F
analogous
#383F1F #283F1F #1F3F26
triadic
#283F1F #1F283F #3F1F28
tetradic
#283F1F #1F383F #361F3F #3F261F
square
#283F1F #1F383F #361F3F #3F261F
split-complementary
#283F1F #261F3F #3F1F38
monochromatic
#0D150A #0E160B #283F1F #426833 #5C9147

Accessibility & contrast

On white

11.53
#283F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F1F
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F1F#FFFFFF#000000##FFFFFF
##283F1F1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283f1f;
/* rgb */ color: rgb(40, 63, 31);
/* oklch */ color: oklch(33.9% 0.060 137.4);
Tailwind
colors: {
  custom: {
    50: '#63745b',
    500: '#283f1f',
    950: '#000000',
  },
}
SCSS
$custom: #283f1f;
$custom-light: #63745b;
$custom-dark: #000000;
JSON
{
  "hex": "#283f1f",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 31
  },
  "hsl": {
    "h": 103.125,
    "s": 34.043,
    "l": 18.431
  },
  "oklch": {
    "l": 0.33935,
    "c": 0.06048,
    "h": 137.4
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#283F1F
secondary
#674773
accent
#5ECAAC
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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