#38531D#38531D

#38531D is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.087 H 131.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#38531D
RGBrgb(56, 83, 29)
HSLhsl(90, 48%, 22%)
HSVhsv(90, 65%, 33%)
CMYKcmyk(32.5%, 0%, 65.1%, 67.5%)
CIE-LABlab(32.07, -20.53, 27.79)
CIE-LCHlch(32.07, 34.55, 126.45°)
OKLaboklab(40.74% -0.0574 0.0647)
OKLCHoklch(40.74% 0.087 131.6)
XYZxyz(4.9459, 7.1158, 2.2751)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38531D #381D53
analogous
#53531D #38531D #1D531D
triadic
#38531D #1D3853 #531D38
tetradic
#38531D #1D5353 #381D53 #531D1D
square
#38531D #1D5353 #381D53 #531D1D
split-complementary
#38531D #1D1D53 #531D53
monochromatic
#0F1708 #19260D #38531D #57802D #75AE3D

Accessibility & contrast

On white

8.67
#38531D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#38531D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38531D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38531D#FFFFFF#000000##FFFFFF
##38531D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D17
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#395047
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38531d;
/* rgb */ color: rgb(56, 83, 29);
/* oklch */ color: oklch(40.7% 0.087 131.6);
Tailwind
colors: {
  custom: {
    50: '#71835b',
    500: '#38531d',
    950: '#000000',
  },
}
SCSS
$custom: #38531d;
$custom-light: #71835b;
$custom-dark: #000000;
JSON
{
  "hex": "#38531d",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 29
  },
  "hsl": {
    "h": 90,
    "s": 48.214,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.08651,
    "h": 131.6
  },
  "luminance": 0.07116
}

Semantic roles & 50–950 ramp

primary
#38531D
secondary
#664488
accent
#50D894
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38531D

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

Preview Lab → · Contrast checker → · Palette generator →

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