#38460B#38460B

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

Color values

HEX#38460B
RGBrgb(56, 70, 11)
HSLhsl(74, 73%, 16%)
HSVhsv(74, 84%, 27%)
CMYKcmyk(20%, 0%, 84.3%, 72.5%)
CIE-LABlab(27.42, -14.98, 31.31)
CIE-LCHlch(27.42, 34.71, 115.57°)
OKLaboklab(36.92% -0.044 0.0692)
OKLCHoklch(36.92% 0.082 122.4)
XYZxyz(3.8815, 5.2452, 1.1245)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460B #190B46
analogous
#46360B #38460B #1A460B
triadic
#38460B #0B3846 #460B38
tetradic
#38460B #0B4636 #190B46 #460B1A
square
#38460B #0B4636 #190B46 #460B1A
split-complementary
#38460B #0B1A46 #360B46
monochromatic
#151A04 #151A04 #38460B #627B13 #8DB01C

Accessibility & contrast

On white

10.25
#38460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #38460B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38460B#FFFFFF#000000##FFFFFF
##38460B1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38460b;
/* rgb */ color: rgb(56, 70, 11);
/* oklch */ color: oklch(36.9% 0.082 122.4);
Tailwind
colors: {
  custom: {
    50: '#71794f',
    500: '#38460b',
    950: '#000000',
  },
}
SCSS
$custom: #38460b;
$custom-light: #71794f;
$custom-dark: #000000;
JSON
{
  "hex": "#38460b",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 74.237,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.08201,
    "h": 122.4
  },
  "luminance": 0.05245
}

Semantic roles & 50–950 ramp

primary
#38460B
secondary
#3F2A82
accent
#38F064
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460B

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

Preview Lab → · Contrast checker → · Palette generator →

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