#38542E#38542E

#38542E is a dark, moderate green. Relative luminance 0.074; OKLCH L 41.3% C 0.069 H 137.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#38542E
RGBrgb(56, 84, 46)
HSLhsl(104, 29%, 25%)
HSVhsv(104, 45%, 33%)
CMYKcmyk(33.3%, 0%, 45.2%, 67.1%)
CIE-LABlab(32.65, -18.76, 18.93)
CIE-LCHlch(32.65, 26.65, 134.74°)
OKLaboklab(41.29% -0.0513 0.0465)
OKLCHoklch(41.29% 0.069 137.8)
XYZxyz(5.2942, 7.3785, 3.7295)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38542E #4A2E54
analogous
#4B542E #38542E #2E5437
triadic
#38542E #2E3854 #542E38
tetradic
#38542E #2E4B54 #4A2E54 #54372E
square
#38542E #2E4B54 #4A2E54 #54372E
split-complementary
#38542E #372E54 #542E4B
monochromatic
#0D140B #1E2C18 #38542E #527C44 #6DA359

Accessibility & contrast

On white

8.48
#38542E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#38542E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38542E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38542E#FFFFFF#000000##FFFFFF
##38542E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E2B
Deuteranopia (green-blind)
#524C30
Tritanopia (blue-blind)
#37524B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #38542e;
/* rgb */ color: rgb(56, 84, 46);
/* oklch */ color: oklch(41.3% 0.069 137.8);
Tailwind
colors: {
  custom: {
    50: '#708467',
    500: '#38542e',
    950: '#000000',
  },
}
SCSS
$custom: #38542e;
$custom-light: #708467;
$custom-dark: #000000;
JSON
{
  "hex": "#38542e",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 104.211,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.41291,
    "c": 0.06925,
    "h": 137.8
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#38542E
secondary
#7A5886
accent
#62C5AB
background
#F6F8F6
surface
#ECEFEB
border
#C7CAC6
text
#070B06
muted
#7A7C7A

Preview Lab

Preview with #38542E

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

Preview Lab → · Contrast checker → · Palette generator →

#38542E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva