#38460A#38460A

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

Color values

HEX#38460A
RGBrgb(56, 70, 10)
HSLhsl(74, 75%, 16%)
HSVhsv(74, 86%, 27%)
CMYKcmyk(20%, 0%, 85.7%, 72.5%)
CIE-LABlab(27.42, -15.04, 31.69)
CIE-LCHlch(27.42, 35.07, 115.39°)
OKLaboklab(36.92% -0.0442 0.0698)
OKLCHoklch(36.92% 0.083 122.4)
XYZxyz(3.8759, 5.2430, 1.0949)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38460A #180A46
analogous
#46360A #38460A #1A460A
triadic
#38460A #0A3846 #460A38
tetradic
#38460A #0A4636 #180A46 #460A1A
square
#38460A #0A4636 #180A46 #460A1A
split-complementary
#38460A #0A1A46 #360A46
monochromatic
#151B04 #151B04 #38460A #637C12 #8EB119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38460A#FFFFFF#000000##FFFFFF
##38460A1.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)
#4B4100
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#3B423B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #38460a;
/* rgb */ color: rgb(56, 70, 10);
/* oklch */ color: oklch(36.9% 0.083 122.4);
Tailwind
colors: {
  custom: {
    50: '#71794f',
    500: '#38460a',
    950: '#000000',
  },
}
SCSS
$custom: #38460a;
$custom-light: #71794f;
$custom-dark: #000000;
JSON
{
  "hex": "#38460a",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 74,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36916,
    "c": 0.08264,
    "h": 122.4
  },
  "luminance": 0.05243
}

Semantic roles & 50–950 ramp

primary
#38460A
secondary
#3E2983
accent
#36F262
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38460A

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

Preview Lab → · Contrast checker → · Palette generator →

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