#38451B#38451B

#38451B is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.8% C 0.066 H 123.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#38451B
RGBrgb(56, 69, 27)
HSLhsl(79, 44%, 19%)
HSVhsv(79, 61%, 27%)
CMYKcmyk(18.8%, 0%, 60.9%, 72.9%)
CIE-LABlab(27.23, -13.05, 23.33)
CIE-LCHlch(27.23, 26.73, 119.22°)
OKLaboklab(36.82% -0.0369 0.0549)
OKLCHoklch(36.82% 0.066 123.9)
XYZxyz(3.9569, 5.1761, 1.8273)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38451B #281B45
analogous
#453D1B #38451B #23451B
triadic
#38451B #1B3845 #451B38
tetradic
#38451B #1B453D #281B45 #451B23
square
#38451B #1B453D #281B45 #451B23
split-complementary
#38451B #1B2345 #3D1B45
monochromatic
#121609 #14190A #38451B #5C712C #7F9D3D

Accessibility & contrast

On white

10.32
#38451B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#38451B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38451B
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38451B#FFFFFF#000000##FFFFFF
##38451B1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#47401E
Tritanopia (blue-blind)
#3B423C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38451b;
/* rgb */ color: rgb(56, 69, 27);
/* oklch */ color: oklch(36.8% 0.066 123.9);
Tailwind
colors: {
  custom: {
    50: '#707859',
    500: '#38451b',
    950: '#000000',
  },
}
SCSS
$custom: #38451b;
$custom-light: #707859;
$custom-dark: #000000;
JSON
{
  "hex": "#38451b",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 27
  },
  "hsl": {
    "h": 78.571,
    "s": 43.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.06614,
    "h": 123.9
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#38451B
secondary
#53417B
accent
#54D37C
background
#F6F7F5
surface
#ECEDE9
border
#C7C8C5
text
#070903
muted
#7A7B78

Preview Lab

Preview with #38451B

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

Preview Lab → · Contrast checker → · Palette generator →

#38451B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva