#38491E#38491E

#38491E is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 38.0% C 0.069 H 127.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#38491E
RGBrgb(56, 73, 30)
HSLhsl(84, 42%, 20%)
HSVhsv(84, 59%, 29%)
CMYKcmyk(23.3%, 0%, 58.9%, 71.4%)
CIE-LABlab(28.64, -14.98, 23.30)
CIE-LCHlch(28.64, 27.70, 122.75°)
OKLaboklab(37.97% -0.042 0.0551)
OKLCHoklch(37.97% 0.069 127.3)
XYZxyz(4.2478, 5.6995, 2.1044)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38491E #2F1E49
analogous
#49441E #38491E #22491E
triadic
#38491E #1E3849 #491E38
tetradic
#38491E #1E4944 #2F1E49 #491E22
square
#38491E #1E4944 #2F1E49 #491E22
split-complementary
#38491E #1E2249 #441E49
monochromatic
#111609 #171E0C #38491E #597430 #7BA042

Accessibility & contrast

On white

9.81
#38491E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#38491E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38491E
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38491E#FFFFFF#000000##FFFFFF
##38491E1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D441A
Deuteranopia (green-blind)
#4A4321
Tritanopia (blue-blind)
#3A463F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #38491e;
/* rgb */ color: rgb(56, 73, 30);
/* oklch */ color: oklch(38.0% 0.069 127.3);
Tailwind
colors: {
  custom: {
    50: '#707b5b',
    500: '#38491e',
    950: '#000000',
  },
}
SCSS
$custom: #38491e;
$custom-light: #707b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#38491e",
  "rgb": {
    "r": 56,
    "g": 73,
    "b": 30
  },
  "hsl": {
    "h": 83.721,
    "s": 41.748,
    "l": 20.196
  },
  "oklch": {
    "l": 0.37967,
    "c": 0.0693,
    "h": 127.3
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#38491E
secondary
#5B457E
accent
#56D287
background
#F6F7F5
surface
#ECEEE9
border
#C7C9C5
text
#070904
muted
#7A7B79

Preview Lab

Preview with #38491E

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

Preview Lab → · Contrast checker → · Palette generator →

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