#38581A#38581A

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

Color values

HEX#38581A
RGBrgb(56, 88, 26)
HSLhsl(91, 54%, 22%)
HSVhsv(91, 70%, 35%)
CMYKcmyk(36.4%, 0%, 70.5%, 65.5%)
CIE-LABlab(33.76, -23.39, 31.15)
CIE-LCHlch(33.76, 38.95, 126.90°)
OKLaboklab(42.11% -0.0656 0.0714)
OKLCHoklch(42.11% 0.097 132.6)
XYZxyz(5.3070, 7.8946, 2.2213)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38581A #3A1A58
analogous
#57581A #38581A #1A581B
triadic
#38581A #1A3858 #581A38
tetradic
#38581A #1A5758 #3A1A58 #581B1A
square
#38581A #1A5758 #3A1A58 #581B1A
split-complementary
#38581A #1B1A58 #581A57
monochromatic
#0F1807 #1A290C #38581A #568728 #74B636

Accessibility & contrast

On white

8.14
#38581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38581A
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38581A#FFFFFF#000000##FFFFFF
##38581A1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5112
Deuteranopia (green-blind)
#574F1F
Tritanopia (blue-blind)
#39544B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #38581a;
/* rgb */ color: rgb(56, 88, 26);
/* oklch */ color: oklch(42.1% 0.097 132.6);
Tailwind
colors: {
  custom: {
    50: '#71875a',
    500: '#38581a',
    950: '#000000',
  },
}
SCSS
$custom: #38581a;
$custom-light: #71875a;
$custom-dark: #000000;
JSON
{
  "hex": "#38581a",
  "rgb": {
    "r": 56,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 90.968,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.09695,
    "h": 132.6
  },
  "luminance": 0.07895
}

Semantic roles & 50–950 ramp

primary
#38581A
secondary
#68408E
accent
#4ADE96
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38581A

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

Preview Lab → · Contrast checker → · Palette generator →

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