#38540D#38540D

#38540D is a dark, moderate yellow-green. Relative luminance 0.072; OKLCH L 40.9% C 0.101 H 129.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#38540D
RGBrgb(56, 84, 13)
HSLhsl(84, 73%, 19%)
HSVhsv(84, 85%, 33%)
CMYKcmyk(33.3%, 0%, 84.5%, 67.1%)
CIE-LABlab(32.28, -22.35, 35.13)
CIE-LCHlch(32.28, 41.64, 122.46°)
OKLaboklab(40.87% -0.0639 0.0776)
OKLCHoklch(40.87% 0.101 129.5)
XYZxyz(4.8738, 7.2103, 1.5156)
Luminance0.0721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38540D #290D54
analogous
#544D0D #38540D #15540D
triadic
#38540D #0D3854 #540D38
tetradic
#38540D #0D544D #290D54 #540D15
square
#38540D #0D544D #290D54 #540D15
split-complementary
#38540D #0D1554 #4D0D54
monochromatic
#121A04 #151F05 #38540D #5B8915 #7FBE1D

Accessibility & contrast

On white

8.60
#38540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#38540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38540D
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38540D#FFFFFF#000000##FFFFFF
##38540D1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#3A5047
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #38540d;
/* rgb */ color: rgb(56, 84, 13);
/* oklch */ color: oklch(40.9% 0.101 129.5);
Tailwind
colors: {
  custom: {
    50: '#728452',
    500: '#38540d',
    950: '#000000',
  },
}
SCSS
$custom: #38540d;
$custom-light: #728452;
$custom-dark: #000000;
JSON
{
  "hex": "#38540d",
  "rgb": {
    "r": 56,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 83.662,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40869,
    "c": 0.10053,
    "h": 129.5
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#38540D
secondary
#542E8F
accent
#38F080
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #38540D

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

Preview Lab → · Contrast checker → · Palette generator →

#38540D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva