#38591F#38591F

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

Color values

HEX#38591F
RGBrgb(56, 89, 31)
HSLhsl(94, 48%, 24%)
HSVhsv(94, 65%, 35%)
CMYKcmyk(37.1%, 0%, 65.2%, 65.1%)
CIE-LABlab(34.16, -23.38, 29.11)
CIE-LCHlch(34.16, 37.34, 128.77°)
OKLaboklab(42.45% -0.0651 0.0678)
OKLCHoklch(42.45% 0.094 133.8)
XYZxyz(5.4505, 8.0842, 2.5693)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38591F #401F59
analogous
#55591F #38591F #1F5923
triadic
#38591F #1F3859 #591F38
tetradic
#38591F #1F5559 #401F59 #59231F
square
#38591F #1F5559 #401F59 #59231F
split-complementary
#38591F #231F59 #591F55
monochromatic
#0E1708 #1B2C0F #38591F #55862F #71B43F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38591F#FFFFFF#000000##FFFFFF
##38591F1.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)
#5D5219
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#38554D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #38591f;
/* rgb */ color: rgb(56, 89, 31);
/* oklch */ color: oklch(42.4% 0.094 133.8);
Tailwind
colors: {
  custom: {
    50: '#71885d',
    500: '#38591f',
    950: '#000000',
  },
}
SCSS
$custom: #38591f;
$custom-light: #71885d;
$custom-dark: #000000;
JSON
{
  "hex": "#38591f",
  "rgb": {
    "r": 56,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 94.138,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.42445,
    "c": 0.09397,
    "h": 133.8
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#38591F
secondary
#6F468E
accent
#50D89D
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B04
muted
#7B7C79

Preview Lab

Preview with #38591F

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

Preview Lab → · Contrast checker → · Palette generator →

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