#38460E#38460E

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

Color values

HEX#38460E
RGBrgb(56, 70, 14)
HSLhsl(75, 67%, 16%)
HSVhsv(75, 80%, 27%)
CMYKcmyk(20%, 0%, 80%, 72.5%)
CIE-LABlab(27.44, -14.79, 30.10)
CIE-LCHlch(27.44, 33.54, 116.17°)
OKLaboklab(36.95% -0.0432 0.0672)
OKLCHoklch(36.95% 0.08 122.7)
XYZxyz(3.9004, 5.2528, 1.2238)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460E #1C0E46
analogous
#46380E #38460E #1C460E
triadic
#38460E #0E3846 #460E38
tetradic
#38460E #0E4638 #1C0E46 #460E1C
square
#38460E #0E4638 #1C0E46 #460E1C
split-complementary
#38460E #0E1C46 #380E46
monochromatic
#141A05 #141A05 #38460E #617918 #8AAC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38460E#FFFFFF#000000##FFFFFF
##38460E1.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)
#4B4105
Deuteranopia (green-blind)
#494113
Tritanopia (blue-blind)
#3B423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38460e;
/* rgb */ color: rgb(56, 70, 14);
/* oklch */ color: oklch(36.9% 0.080 122.7);
Tailwind
colors: {
  custom: {
    50: '#717951',
    500: '#38460e',
    950: '#000000',
  },
}
SCSS
$custom: #38460e;
$custom-light: #717951;
$custom-dark: #000000;
JSON
{
  "hex": "#38460e",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 75,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36947,
    "c": 0.07991,
    "h": 122.7
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#38460E
secondary
#432F81
accent
#3EEA69
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460E

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

Preview Lab → · Contrast checker → · Palette generator →

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