#38581D#38581D

#38581D is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.094 H 133.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#38581D
RGBrgb(56, 88, 29)
HSLhsl(93, 50%, 23%)
HSVhsv(93, 67%, 35%)
CMYKcmyk(36.4%, 0%, 67%, 65.5%)
CIE-LABlab(33.79, -23.09, 29.72)
CIE-LCHlch(33.79, 37.63, 127.85°)
OKLaboklab(42.14% -0.0645 0.0688)
OKLCHoklch(42.14% 0.094 133.1)
XYZxyz(5.3423, 7.9087, 2.4072)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38581D #3D1D58
analogous
#55581D #38581D #1D581F
triadic
#38581D #1D3858 #581D38
tetradic
#38581D #1D5558 #3D1D58 #581F1D
square
#38581D #1D5558 #3D1D58 #581F1D
split-complementary
#38581D #1F1D58 #581D55
monochromatic
#0F1708 #1B2A0E #38581D #55862C #73B43B

Accessibility & contrast

On white

8.13
#38581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#38581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38581D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38581D#FFFFFF#000000##FFFFFF
##38581D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5116
Deuteranopia (green-blind)
#574F22
Tritanopia (blue-blind)
#38544C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38581d;
/* rgb */ color: rgb(56, 88, 29);
/* oklch */ color: oklch(42.1% 0.094 133.1);
Tailwind
colors: {
  custom: {
    50: '#71875c',
    500: '#38581d',
    950: '#000000',
  },
}
SCSS
$custom: #38581d;
$custom-light: #71875c;
$custom-dark: #000000;
JSON
{
  "hex": "#38581d",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 92.542,
    "s": 50.427,
    "l": 22.941
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.09429,
    "h": 133.1
  },
  "luminance": 0.07909
}

Semantic roles & 50–950 ramp

primary
#38581D
secondary
#6C448D
accent
#4EDA9A
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38581D

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

Preview Lab → · Contrast checker → · Palette generator →

#38581D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva