#38591B#38591B

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

Color values

HEX#38591B
RGBrgb(56, 89, 27)
HSLhsl(92, 53%, 23%)
HSVhsv(92, 70%, 35%)
CMYKcmyk(37.1%, 0%, 69.7%, 65.1%)
CIE-LABlab(34.12, -23.79, 31.05)
CIE-LCHlch(34.12, 39.12, 127.46°)
OKLaboklab(42.4% -0.0666 0.0714)
OKLCHoklch(42.4% 0.098 133)
XYZxyz(5.4010, 8.0644, 2.3087)
Luminance0.0806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38591B #3C1B59
analogous
#57591B #38591B #1B591D
triadic
#38591B #1B3859 #591B38
tetradic
#38591B #1B5759 #3C1B59 #591D1B
square
#38591B #1B5759 #3C1B59 #591D1B
split-complementary
#38591B #1D1B59 #591B57
monochromatic
#0F1707 #1A2A0D #38591B #568829 #73B737

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38591B#FFFFFF#000000##FFFFFF
##38591B1.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)
#5D5213
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#38554C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38591b;
/* rgb */ color: rgb(56, 89, 27);
/* oklch */ color: oklch(42.4% 0.098 133.0);
Tailwind
colors: {
  custom: {
    50: '#71885b',
    500: '#38591b',
    950: '#000000',
  },
}
SCSS
$custom: #38591b;
$custom-light: #71885b;
$custom-dark: #000000;
JSON
{
  "hex": "#38591b",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 91.935,
    "s": 53.448,
    "l": 22.745
  },
  "oklch": {
    "l": 0.42399,
    "c": 0.0976,
    "h": 133
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#38591B
secondary
#6A418F
accent
#4BDD99
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38591B

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

Preview Lab → · Contrast checker → · Palette generator →

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