#38591A#38591A

#38591A is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.4% C 0.098 H 132.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#38591A
RGBrgb(56, 89, 26)
HSLhsl(91, 55%, 23%)
HSVhsv(91, 71%, 35%)
CMYKcmyk(37.1%, 0%, 70.8%, 65.1%)
CIE-LABlab(34.11, -23.89, 31.52)
CIE-LCHlch(34.11, 39.55, 127.16°)
OKLaboklab(42.39% -0.0669 0.0722)
OKLCHoklch(42.39% 0.098 132.8)
XYZxyz(5.3896, 8.0599, 2.2488)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38591A #3B1A59
analogous
#57591A #38591A #1A591C
triadic
#38591A #1A3859 #591A38
tetradic
#38591A #1A5759 #3B1A59 #591C1A
square
#38591A #1A5759 #3B1A59 #591C1A
split-complementary
#38591A #1C1A59 #591A57
monochromatic
#0F1807 #1A2A0C #38591A #568828 #74B836

Accessibility & contrast

On white

8.04
#38591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#38591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38591A
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38591A#FFFFFF#000000##FFFFFF
##38591A1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5212
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#38554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38591a;
/* rgb */ color: rgb(56, 89, 26);
/* oklch */ color: oklch(42.4% 0.098 132.8);
Tailwind
colors: {
  custom: {
    50: '#71885a',
    500: '#38591a',
    950: '#000000',
  },
}
SCSS
$custom: #38591a;
$custom-light: #71885a;
$custom-dark: #000000;
JSON
{
  "hex": "#38591a",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 91.429,
    "s": 54.783,
    "l": 22.549
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.09845,
    "h": 132.8
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

primary
#38591A
secondary
#69408F
accent
#4ADE97
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38591A

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

Preview Lab → · Contrast checker → · Palette generator →

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