#38470B#38470B

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

Color values

HEX#38470B
RGBrgb(56, 71, 11)
HSLhsl(75, 73%, 16%)
HSVhsv(75, 85%, 28%)
CMYKcmyk(21.1%, 0%, 84.5%, 72.2%)
CIE-LABlab(27.77, -15.54, 31.64)
CIE-LCHlch(27.77, 35.25, 116.16°)
OKLaboklab(37.2% -0.0455 0.0699)
OKLCHoklch(37.2% 0.083 123.1)
XYZxyz(3.9446, 5.3714, 1.1455)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38470B #1A0B47
analogous
#47380B #38470B #1A470B
triadic
#38470B #0B3847 #470B38
tetradic
#38470B #0B4738 #1A0B47 #470B1A
square
#38470B #0B4738 #1A0B47 #470B1A
split-complementary
#38470B #0B1A47 #380B47
monochromatic
#151A04 #151A04 #38470B #627C13 #8CB11B

Accessibility & contrast

On white

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

On black

2.07
#38470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38470B#FFFFFF#000000##FFFFFF
##38470B1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38470b;
/* rgb */ color: rgb(56, 71, 11);
/* oklch */ color: oklch(37.2% 0.083 123.1);
Tailwind
colors: {
  custom: {
    50: '#717a4f',
    500: '#38470b',
    950: '#000000',
  },
}
SCSS
$custom: #38470b;
$custom-light: #717a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#38470b",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 75,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.08341,
    "h": 123.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#38470B
secondary
#412A83
accent
#38F066
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38470B

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

Preview Lab → · Contrast checker → · Palette generator →

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