#38460D#38460D

#38460D is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.9% C 0.081 H 122.6°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#38460D
RGBrgb(56, 70, 13)
HSLhsl(75, 69%, 16%)
HSVhsv(75, 81%, 27%)
CMYKcmyk(20%, 0%, 81.4%, 72.5%)
CIE-LABlab(27.44, -14.86, 30.52)
CIE-LCHlch(27.44, 33.94, 115.96°)
OKLaboklab(36.94% -0.0435 0.0679)
OKLCHoklch(36.94% 0.081 122.6)
XYZxyz(3.8937, 5.2501, 1.1889)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460D #1B0D46
analogous
#46380D #38460D #1C460D
triadic
#38460D #0D3846 #460D38
tetradic
#38460D #0D4638 #1B0D46 #460D1C
square
#38460D #0D4638 #1B0D46 #460D1C
split-complementary
#38460D #0D1C46 #380D46
monochromatic
#151A05 #151A05 #38460D #617A17 #8BAD20

Accessibility & contrast

On white

10.24
#38460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#38460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38460D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38460D#FFFFFF#000000##FFFFFF
##38460D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4104
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#3B423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38460d;
/* rgb */ color: rgb(56, 70, 13);
/* oklch */ color: oklch(36.9% 0.081 122.6);
Tailwind
colors: {
  custom: {
    50: '#717950',
    500: '#38460d',
    950: '#000000',
  },
}
SCSS
$custom: #38460d;
$custom-light: #717950;
$custom-dark: #000000;
JSON
{
  "hex": "#38460d",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 74.737,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.08064,
    "h": 122.6
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#38460D
secondary
#422D81
accent
#3CEC67
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460D

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

Preview Lab → · Contrast checker → · Palette generator →

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