#283F1E#283F1E

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

Color values

HEX#283F1E
RGBrgb(40, 63, 30)
HSLhsl(102, 35%, 18%)
HSVhsv(102, 52%, 25%)
CMYKcmyk(36.5%, 0%, 52.4%, 75.3%)
CIE-LABlab(24.00, -16.41, 17.39)
CIE-LCHlch(24.00, 23.91, 133.34°)
OKLaboklab(33.92% -0.045 0.0422)
OKLCHoklch(33.92% 0.062 136.8)
XYZxyz(2.8868, 4.0998, 1.8673)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F1E #351E3F
analogous
#383F1E #283F1E #1E3F24
triadic
#283F1E #1E283F #3F1E28
tetradic
#283F1E #1E383F #351E3F #3F241E
square
#283F1E #1E383F #351E3F #3F241E
split-complementary
#283F1E #241E3F #3F1E38
monochromatic
#0D150A #0E160A #283F1E #426832 #5D9245

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##283F1E#FFFFFF#000000##FFFFFF
##283F1E1.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)
#413A1B
Deuteranopia (green-blind)
#3E3820
Tritanopia (blue-blind)
#273D37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283f1e;
/* rgb */ color: rgb(40, 63, 30);
/* oklch */ color: oklch(33.9% 0.062 136.8);
Tailwind
colors: {
  custom: {
    50: '#63745a',
    500: '#283f1e',
    950: '#000000',
  },
}
SCSS
$custom: #283f1e;
$custom-light: #63745a;
$custom-dark: #000000;
JSON
{
  "hex": "#283f1e",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 30
  },
  "hsl": {
    "h": 101.818,
    "s": 35.484,
    "l": 18.235
  },
  "oklch": {
    "l": 0.33915,
    "c": 0.06171,
    "h": 136.8
  },
  "luminance": 0.041
}

Semantic roles & 50–950 ramp

primary
#283F1E
secondary
#654573
accent
#5CCCAA
background
#F5F7F5
surface
#EAEDE9
border
#C6C8C5
text
#050804
muted
#797B79

Preview Lab

Preview with #283F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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