#38470A#38470A

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

Color values

HEX#38470A
RGBrgb(56, 71, 10)
HSLhsl(75, 75%, 16%)
HSVhsv(75, 86%, 28%)
CMYKcmyk(21.1%, 0%, 85.9%, 72.2%)
CIE-LABlab(27.76, -15.60, 32.01)
CIE-LCHlch(27.76, 35.61, 115.98°)
OKLaboklab(37.2% -0.0458 0.0705)
OKLCHoklch(37.2% 0.084 123)
XYZxyz(3.9390, 5.3691, 1.1159)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38470A #190A47
analogous
#47370A #38470A #19470A
triadic
#38470A #0A3847 #470A38
tetradic
#38470A #0A4737 #190A47 #470A19
square
#38470A #0A4737 #190A47 #470A19
split-complementary
#38470A #0A1947 #370A47
monochromatic
#151B04 #151B04 #38470A #627D12 #8DB219

Accessibility & contrast

On white

10.13
#38470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38470A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38470A#FFFFFF#000000##FFFFFF
##38470A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38470a;
/* rgb */ color: rgb(56, 71, 10);
/* oklch */ color: oklch(37.2% 0.084 123.0);
Tailwind
colors: {
  custom: {
    50: '#717a4f',
    500: '#38470a',
    950: '#000000',
  },
}
SCSS
$custom: #38470a;
$custom-light: #717a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#38470a",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 74.754,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.08404,
    "h": 123
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#38470A
secondary
#3F2984
accent
#36F264
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38470A

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

Preview Lab → · Contrast checker → · Palette generator →

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