#38580D#38580D

#38580D is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 42.0% C 0.106 H 130.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#38580D
RGBrgb(56, 88, 13)
HSLhsl(86, 74%, 20%)
HSVhsv(86, 85%, 35%)
CMYKcmyk(36.4%, 0%, 85.2%, 65.5%)
CIE-LABlab(33.67, -24.35, 36.42)
CIE-LCHlch(33.67, 43.81, 123.77°)
OKLaboklab(42% -0.0693 0.0803)
OKLCHoklch(42% 0.106 130.8)
XYZxyz(5.1932, 7.8491, 1.6221)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38580D #2D0D58
analogous
#58530D #38580D #13580D
triadic
#38580D #0D3858 #580D38
tetradic
#38580D #0D5853 #2D0D58 #580D13
square
#38580D #0D5853 #2D0D58 #580D13
split-complementary
#38580D #0D1358 #530D58
monochromatic
#111B04 #162305 #38580D #5A8D15 #7CC31D

Accessibility & contrast

On white

8.17
#38580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#38580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38580D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38580D#FFFFFF#000000##FFFFFF
##38580D1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5100
Deuteranopia (green-blind)
#584E15
Tritanopia (blue-blind)
#39544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38580d;
/* rgb */ color: rgb(56, 88, 13);
/* oklch */ color: oklch(42.0% 0.106 130.8);
Tailwind
colors: {
  custom: {
    50: '#728753',
    500: '#38580d',
    950: '#000000',
  },
}
SCSS
$custom: #38580d;
$custom-light: #728753;
$custom-dark: #000000;
JSON
{
  "hex": "#38580d",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 85.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41998,
    "c": 0.10609,
    "h": 130.8
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#38580D
secondary
#592E93
accent
#37F186
background
#F7F8F4
surface
#EDEFE8
border
#C8CAC4
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #38580D

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

Preview Lab → · Contrast checker → · Palette generator →

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