#38460F#38460F

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

Color values

HEX#38460F
RGBrgb(56, 70, 15)
HSLhsl(75, 65%, 17%)
HSVhsv(75, 79%, 27%)
CMYKcmyk(20%, 0%, 78.6%, 72.5%)
CIE-LABlab(27.45, -14.72, 29.67)
CIE-LCHlch(27.45, 33.12, 116.39°)
OKLaboklab(36.96% -0.0429 0.0665)
OKLCHoklch(36.96% 0.079 122.8)
XYZxyz(3.9073, 5.2555, 1.2604)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460F #1D0F46
analogous
#46390F #38460F #1D460F
triadic
#38460F #0F3846 #460F38
tetradic
#38460F #0F4639 #1D0F46 #460F1D
square
#38460F #0F4639 #1D0F46 #460F1D
split-complementary
#38460F #0F1D46 #390F46
monochromatic
#141905 #141905 #38460F #60781A #89AB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38460F#FFFFFF#000000##FFFFFF
##38460F1.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)
#4B4106
Deuteranopia (green-blind)
#494114
Tritanopia (blue-blind)
#3B423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38460f;
/* rgb */ color: rgb(56, 70, 15);
/* oklch */ color: oklch(37.0% 0.079 122.8);
Tailwind
colors: {
  custom: {
    50: '#717951',
    500: '#38460f',
    950: '#000000',
  },
}
SCSS
$custom: #38460f;
$custom-light: #717951;
$custom-dark: #000000;
JSON
{
  "hex": "#38460f",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 75.273,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36955,
    "c": 0.07915,
    "h": 122.8
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#38460F
secondary
#453080
accent
#40E86B
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460F

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

Preview Lab → · Contrast checker → · Palette generator →

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