#38561A#38561A

#38561A is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.5% C 0.094 H 132.0°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#38561A
RGBrgb(56, 86, 26)
HSLhsl(90, 54%, 22%)
HSVhsv(90, 70%, 34%)
CMYKcmyk(34.9%, 0%, 69.8%, 66.3%)
CIE-LABlab(33.07, -22.38, 30.41)
CIE-LCHlch(33.07, 37.75, 126.35°)
OKLaboklab(41.55% -0.0628 0.0699)
OKLCHoklch(41.55% 0.094 132)
XYZxyz(5.1451, 7.5707, 2.1673)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38561A #381A56
analogous
#56561A #38561A #1A561A
triadic
#38561A #1A3856 #561A38
tetradic
#38561A #1A5656 #381A56 #561A1A
square
#38561A #1A5656 #381A56 #561A1A
split-complementary
#38561A #1A1A56 #561A56
monochromatic
#0F1707 #19270C #38561A #578528 #75B436

Accessibility & contrast

On white

8.35
#38561A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#38561A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38561A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38561A#FFFFFF#000000##FFFFFF
##38561A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#564D1F
Tritanopia (blue-blind)
#39524A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #38561a;
/* rgb */ color: rgb(56, 86, 26);
/* oklch */ color: oklch(41.5% 0.094 132.0);
Tailwind
colors: {
  custom: {
    50: '#71865a',
    500: '#38561a',
    950: '#000000',
  },
}
SCSS
$custom: #38561a;
$custom-light: #71865a;
$custom-dark: #000000;
JSON
{
  "hex": "#38561a",
  "rgb": {
    "r": 56,
    "g": 86,
    "b": 26
  },
  "hsl": {
    "h": 90,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41545,
    "c": 0.09394,
    "h": 132
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#38561A
secondary
#66408C
accent
#4BDD94
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38561A

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

Preview Lab → · Contrast checker → · Palette generator →

#38561A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva