#38520D#38520D

#38520D is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.3% C 0.098 H 128.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#38520D
RGBrgb(56, 82, 13)
HSLhsl(83, 73%, 19%)
HSVhsv(83, 84%, 32%)
CMYKcmyk(31.7%, 0%, 84.1%, 67.8%)
CIE-LABlab(31.59, -21.33, 34.48)
CIE-LCHlch(31.59, 40.55, 121.74°)
OKLaboklab(40.31% -0.0611 0.0763)
OKLCHoklch(40.31% 0.098 128.7)
XYZxyz(4.7208, 6.9043, 1.4646)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38520D #270D52
analogous
#52490D #38520D #15520D
triadic
#38520D #0D3852 #520D38
tetradic
#38520D #0D5249 #270D52 #520D15
square
#38520D #0D5249 #270D52 #520D15
split-complementary
#38520D #0D1552 #490D52
monochromatic
#121A04 #141D05 #38520D #5C8715 #80BC1E

Accessibility & contrast

On white

8.82
#38520D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#38520D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38520D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38520D#FFFFFF#000000##FFFFFF
##38520D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#534A14
Tritanopia (blue-blind)
#3A4E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38520d;
/* rgb */ color: rgb(56, 82, 13);
/* oklch */ color: oklch(40.3% 0.098 128.7);
Tailwind
colors: {
  custom: {
    50: '#728252',
    500: '#38520d',
    950: '#000000',
  },
}
SCSS
$custom: #38520d;
$custom-light: #728252;
$custom-dark: #000000;
JSON
{
  "hex": "#38520d",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 13
  },
  "hsl": {
    "h": 82.609,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.09772,
    "h": 128.7
  },
  "luminance": 0.06904
}

Semantic roles & 50–950 ramp

primary
#38520D
secondary
#522E8D
accent
#38EF7D
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #38520D

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

Preview Lab → · Contrast checker → · Palette generator →

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