#38462A#38462A

#38462A is a dark, muted yellow-green. Relative luminance 0.054; OKLCH L 37.4% C 0.049 H 130.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#38462A
RGBrgb(56, 70, 42)
HSLhsl(90, 25%, 22%)
HSVhsv(90, 40%, 27%)
CMYKcmyk(20%, 0%, 40%, 72.5%)
CIE-LABlab(27.81, -11.54, 15.09)
CIE-LCHlch(27.81, 18.99, 127.40°)
OKLaboklab(37.36% -0.0315 0.0374)
OKLCHoklch(37.36% 0.049 130.1)
XYZxyz(4.2389, 5.3882, 3.0067)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38462A #382A46
analogous
#46462A #38462A #2A462A
triadic
#38462A #2A3846 #462A38
tetradic
#38462A #2A4646 #382A46 #462A2A
square
#38462A #2A4646 #382A46 #462A2A
split-complementary
#38462A #2A2A46 #462A46
monochromatic
#0F130B #192013 #38462A #576C41 #759358

Accessibility & contrast

On white

10.11
#38462A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#38462A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38462A
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38462A#FFFFFF#000000##FFFFFF
##38462A1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494228
Deuteranopia (green-blind)
#46412B
Tritanopia (blue-blind)
#39443F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #38462a;
/* rgb */ color: rgb(56, 70, 42);
/* oklch */ color: oklch(37.4% 0.049 130.1);
Tailwind
colors: {
  custom: {
    50: '#6f7964',
    500: '#38462a',
    950: '#000000',
  },
}
SCSS
$custom: #38462a;
$custom-light: #6f7964;
$custom-dark: #000000;
JSON
{
  "hex": "#38462a",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 25,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37364,
    "c": 0.04891,
    "h": 130.1
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#38462A
secondary
#665478
accent
#66C194
background
#F6F7F5
surface
#ECEDEA
border
#C7C8C6
text
#070905
muted
#7A7B79

Preview Lab

Preview with #38462A

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

Preview Lab → · Contrast checker → · Palette generator →

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