#38560B#38560B

#38560B is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.4% C 0.104 H 130.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#38560B
RGBrgb(56, 86, 11)
HSLhsl(84, 77%, 19%)
HSVhsv(84, 87%, 34%)
CMYKcmyk(34.9%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.96, -23.46, 36.44)
CIE-LCHlch(32.96, 43.34, 122.78°)
OKLaboklab(41.42% -0.067 0.08)
OKLCHoklch(41.42% 0.104 130)
XYZxyz(5.0191, 7.5203, 1.5037)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38560B #290B56
analogous
#564F0B #38560B #13560B
triadic
#38560B #0B3856 #560B38
tetradic
#38560B #0B564F #290B56 #560B13
square
#38560B #0B564F #290B56 #560B13
split-complementary
#38560B #0B1356 #4F0B56
monochromatic
#121B03 #152004 #38560B #5B8C12 #7FC319

Accessibility & contrast

On white

8.39
#38560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#38560B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38560B
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38560B#FFFFFF#000000##FFFFFF
##38560B1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#3A5248
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #38560b;
/* rgb */ color: rgb(56, 86, 11);
/* oklch */ color: oklch(41.4% 0.104 130.0);
Tailwind
colors: {
  custom: {
    50: '#728652',
    500: '#38560b',
    950: '#000000',
  },
}
SCSS
$custom: #38560b;
$custom-light: #728652;
$custom-dark: #000000;
JSON
{
  "hex": "#38560b",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 84,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41421,
    "c": 0.10438,
    "h": 130
  },
  "luminance": 0.0752
}

Semantic roles & 50–950 ramp

primary
#38560B
secondary
#542B91
accent
#34F481
background
#F7F8F4
surface
#EDEFE7
border
#C8CAC3
text
#080B02
muted
#7B7C78

Preview Lab

Preview with #38560B

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

Preview Lab → · Contrast checker → · Palette generator →

#38560B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva