#38591E#38591E

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

Color values

HEX#38591E
RGBrgb(56, 89, 30)
HSLhsl(94, 50%, 23%)
HSVhsv(94, 66%, 35%)
CMYKcmyk(37.1%, 0%, 66.3%, 65.1%)
CIE-LABlab(34.15, -23.49, 29.61)
CIE-LCHlch(34.15, 37.79, 128.43°)
OKLaboklab(42.43% -0.0655 0.0687)
OKLCHoklch(42.43% 0.095 133.6)
XYZxyz(5.4375, 8.0790, 2.5010)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38591E #3F1E59
analogous
#55591E #38591E #1E5921
triadic
#38591E #1E3859 #591E38
tetradic
#38591E #1E5559 #3F1E59 #59211E
square
#38591E #1E5559 #3F1E59 #59211E
split-complementary
#38591E #211E59 #591E55
monochromatic
#0E1708 #1B2B0F #38591E #55872D #72B53D

Accessibility & contrast

On white

8.03
#38591E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#38591E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38591E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38591E#FFFFFF#000000##FFFFFF
##38591E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38591e;
/* rgb */ color: rgb(56, 89, 30);
/* oklch */ color: oklch(42.4% 0.095 133.6);
Tailwind
colors: {
  custom: {
    50: '#71885c',
    500: '#38591e',
    950: '#000000',
  },
}
SCSS
$custom: #38591e;
$custom-light: #71885c;
$custom-dark: #000000;
JSON
{
  "hex": "#38591e",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 93.559,
    "s": 49.58,
    "l": 23.333
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.09491,
    "h": 133.6
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#38591E
secondary
#6E458E
accent
#4FD99C
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38591E

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

Preview Lab → · Contrast checker → · Palette generator →

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