#38470D#38470D

#38470D is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.082 H 123.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#38470D
RGBrgb(56, 71, 13)
HSLhsl(76, 69%, 16%)
HSVhsv(76, 82%, 28%)
CMYKcmyk(21.1%, 0%, 81.7%, 72.2%)
CIE-LABlab(27.78, -15.42, 30.85)
CIE-LCHlch(27.78, 34.49, 116.56°)
OKLaboklab(37.22% -0.045 0.0686)
OKLCHoklch(37.22% 0.082 123.3)
XYZxyz(3.9568, 5.3763, 1.2100)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38470D #1C0D47
analogous
#47390D #38470D #1B470D
triadic
#38470D #0D3847 #470D38
tetradic
#38470D #0D4739 #1C0D47 #470D1B
square
#38470D #0D4739 #1C0D47 #470D1B
split-complementary
#38470D #0D1B47 #390D47
monochromatic
#141A05 #141A05 #38470D #617B16 #8AAE20

Accessibility & contrast

On white

10.12
#38470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#38470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38470D
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38470D#FFFFFF#000000##FFFFFF
##38470D1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4203
Deuteranopia (green-blind)
#4A4112
Tritanopia (blue-blind)
#3B433C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38470d;
/* rgb */ color: rgb(56, 71, 13);
/* oklch */ color: oklch(37.2% 0.082 123.3);
Tailwind
colors: {
  custom: {
    50: '#717a50',
    500: '#38470d',
    950: '#000000',
  },
}
SCSS
$custom: #38470d;
$custom-light: #717a50;
$custom-dark: #000000;
JSON
{
  "hex": "#38470d",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 75.517,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37217,
    "c": 0.08207,
    "h": 123.3
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#38470D
secondary
#432D82
accent
#3CEC69
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38470D

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

Preview Lab → · Contrast checker → · Palette generator →

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