#38470F#38470F

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

Color values

HEX#38470F
RGBrgb(56, 71, 15)
HSLhsl(76, 65%, 17%)
HSVhsv(76, 79%, 28%)
CMYKcmyk(21.1%, 0%, 78.9%, 72.2%)
CIE-LABlab(27.80, -15.29, 30.02)
CIE-LCHlch(27.80, 33.69, 116.99°)
OKLaboklab(37.23% -0.0444 0.0673)
OKLCHoklch(37.23% 0.081 123.5)
XYZxyz(3.9704, 5.3817, 1.2814)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38470F #1E0F47
analogous
#473A0F #38470F #1C470F
triadic
#38470F #0F3847 #470F38
tetradic
#38470F #0F473A #1E0F47 #470F1C
square
#38470F #0F473A #1E0F47 #470F1C
split-complementary
#38470F #0F1C47 #3A0F47
monochromatic
#141905 #141905 #38470F #607A1A #88AC24

Accessibility & contrast

On white

10.11
#38470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38470F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38470F#FFFFFF#000000##FFFFFF
##38470F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38470f;
/* rgb */ color: rgb(56, 71, 15);
/* oklch */ color: oklch(37.2% 0.081 123.5);
Tailwind
colors: {
  custom: {
    50: '#717a51',
    500: '#38470f',
    950: '#000000',
  },
}
SCSS
$custom: #38470f;
$custom-light: #717a51;
$custom-dark: #000000;
JSON
{
  "hex": "#38470f",
  "rgb": {
    "r": 56,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 76.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37234,
    "c": 0.0806,
    "h": 123.5
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#38470F
secondary
#463081
accent
#40E86D
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38470F

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

Preview Lab → · Contrast checker → · Palette generator →

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