#38531E#38531E

#38531E is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.086 H 131.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#38531E
RGBrgb(56, 83, 30)
HSLhsl(91, 47%, 22%)
HSVhsv(91, 64%, 33%)
CMYKcmyk(32.5%, 0%, 63.9%, 67.5%)
CIE-LABlab(32.08, -20.42, 27.28)
CIE-LCHlch(32.08, 34.08, 126.81°)
OKLaboklab(40.75% -0.057 0.0637)
OKLCHoklch(40.75% 0.086 131.8)
XYZxyz(4.9584, 7.1208, 2.3413)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38531E #391E53
analogous
#53531E #38531E #1E531E
triadic
#38531E #1E3853 #531E38
tetradic
#38531E #1E5353 #391E53 #531E1E
square
#38531E #1E5353 #391E53 #531E1E
split-complementary
#38531E #1E1E53 #531E53
monochromatic
#0F1608 #1A260E #38531E #56802E #75AD3E

Accessibility & contrast

On white

8.66
#38531E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38531E
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38531E#FFFFFF#000000##FFFFFF
##38531E1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D18
Deuteranopia (green-blind)
#534B22
Tritanopia (blue-blind)
#395048
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #38531e;
/* rgb */ color: rgb(56, 83, 30);
/* oklch */ color: oklch(40.8% 0.086 131.8);
Tailwind
colors: {
  custom: {
    50: '#71835c',
    500: '#38531e',
    950: '#000000',
  },
}
SCSS
$custom: #38531e;
$custom-light: #71835c;
$custom-dark: #000000;
JSON
{
  "hex": "#38531e",
  "rgb": {
    "r": 56,
    "g": 83,
    "b": 30
  },
  "hsl": {
    "h": 90.566,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.08553,
    "h": 131.8
  },
  "luminance": 0.07121
}

Semantic roles & 50–950 ramp

primary
#38531E
secondary
#674588
accent
#51D795
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#080A04
muted
#7B7C79

Preview Lab

Preview with #38531E

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

Preview Lab → · Contrast checker → · Palette generator →

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