#38460C#38460C

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

Color values

HEX#38460C
RGBrgb(56, 70, 12)
HSLhsl(74, 71%, 16%)
HSVhsv(74, 83%, 27%)
CMYKcmyk(20%, 0%, 82.9%, 72.5%)
CIE-LABlab(27.43, -14.92, 30.92)
CIE-LCHlch(27.43, 34.33, 115.76°)
OKLaboklab(36.93% -0.0437 0.0686)
OKLCHoklch(36.93% 0.081 122.5)
XYZxyz(3.8875, 5.2476, 1.1558)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460C #1A0C46
analogous
#46370C #38460C #1B460C
triadic
#38460C #0C3846 #460C38
tetradic
#38460C #0C4637 #1A0C46 #460C1B
square
#38460C #0C4637 #1A0C46 #460C1B
split-complementary
#38460C #0C1B46 #370C46
monochromatic
#151A04 #151A04 #38460C #627A15 #8CAE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38460C#FFFFFF#000000##FFFFFF
##38460C1.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)
#4B4103
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#3B423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38460c;
/* rgb */ color: rgb(56, 70, 12);
/* oklch */ color: oklch(36.9% 0.081 122.5);
Tailwind
colors: {
  custom: {
    50: '#717950',
    500: '#38460c',
    950: '#000000',
  },
}
SCSS
$custom: #38460c;
$custom-light: #717950;
$custom-dark: #000000;
JSON
{
  "hex": "#38460c",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 74.483,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.3693,
    "c": 0.08134,
    "h": 122.5
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#38460C
secondary
#412C82
accent
#3AED66
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460C

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

Preview Lab → · Contrast checker → · Palette generator →

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