#38591C#38591C

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

Color values

HEX#38591C
RGBrgb(56, 89, 28)
HSLhsl(92, 52%, 23%)
HSVhsv(92, 69%, 35%)
CMYKcmyk(37.1%, 0%, 68.5%, 65.1%)
CIE-LABlab(34.13, -23.69, 30.58)
CIE-LCHlch(34.13, 38.68, 127.77°)
OKLaboklab(42.41% -0.0662 0.0705)
OKLCHoklch(42.41% 0.097 133.2)
XYZxyz(5.4128, 8.0691, 2.3707)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38591C #3D1C59
analogous
#56591C #38591C #1C591E
triadic
#38591C #1C3859 #591C38
tetradic
#38591C #1C5659 #3D1C59 #591E1C
square
#38591C #1C5659 #3D1C59 #591E1C
split-complementary
#38591C #1E1C59 #591C56
monochromatic
#0F1707 #1B2A0D #38591C #55882B #73B639

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38591C#FFFFFF#000000##FFFFFF
##38591C1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38591c;
/* rgb */ color: rgb(56, 89, 28);
/* oklch */ color: oklch(42.4% 0.097 133.2);
Tailwind
colors: {
  custom: {
    50: '#71885b',
    500: '#38591c',
    950: '#000000',
  },
}
SCSS
$custom: #38591c;
$custom-light: #71885b;
$custom-dark: #000000;
JSON
{
  "hex": "#38591c",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 92.459,
    "s": 52.137,
    "l": 22.941
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.09672,
    "h": 133.2
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#38591C
secondary
#6C428F
accent
#4CDC9A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38591C

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

Preview Lab → · Contrast checker → · Palette generator →

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