#38520F#38520F

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

Color values

HEX#38520F
RGBrgb(56, 82, 15)
HSLhsl(83, 69%, 19%)
HSVhsv(83, 82%, 32%)
CMYKcmyk(31.7%, 0%, 81.7%, 67.8%)
CIE-LABlab(31.60, -21.20, 33.74)
CIE-LCHlch(31.60, 39.85, 122.15°)
OKLaboklab(40.32% -0.0606 0.0751)
OKLCHoklch(40.32% 0.096 128.9)
XYZxyz(4.7344, 6.9097, 1.5361)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38520F #290F52
analogous
#524B0F #38520F #17520F
triadic
#38520F #0F3852 #520F38
tetradic
#38520F #0F524B #290F52 #520F17
square
#38520F #0F524B #290F52 #520F17
split-complementary
#38520F #0F1752 #4B0F52
monochromatic
#121A05 #151E06 #38520F #5B8618 #7FB922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38520F#FFFFFF#000000##FFFFFF
##38520F1.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)
#564C03
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#3A4E45
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #38520f;
/* rgb */ color: rgb(56, 82, 15);
/* oklch */ color: oklch(40.3% 0.096 128.9);
Tailwind
colors: {
  custom: {
    50: '#718253',
    500: '#38520f',
    950: '#000000',
  },
}
SCSS
$custom: #38520f;
$custom-light: #718253;
$custom-dark: #000000;
JSON
{
  "hex": "#38520f",
  "rgb": {
    "r": 56,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 83.284,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40319,
    "c": 0.09648,
    "h": 128.9
  },
  "luminance": 0.0691
}

Semantic roles & 50–950 ramp

primary
#38520F
secondary
#54318C
accent
#3CEC80
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #38520F

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

Preview Lab → · Contrast checker → · Palette generator →

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