#38450B#38450B

#38450B is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.6% C 0.081 H 121.8°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#38450B
RGBrgb(56, 69, 11)
HSLhsl(73, 73%, 16%)
HSVhsv(73, 84%, 27%)
CMYKcmyk(18.8%, 0%, 84.1%, 72.9%)
CIE-LABlab(27.08, -14.42, 30.99)
CIE-LCHlch(27.08, 34.18, 114.95°)
OKLaboklab(36.64% -0.0424 0.0685)
OKLCHoklch(36.64% 0.081 121.8)
XYZxyz(3.8195, 5.1212, 1.1038)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38450B #180B45
analogous
#45350B #38450B #1B450B
triadic
#38450B #0B3845 #450B38
tetradic
#38450B #0B4535 #180B45 #450B1B
square
#38450B #0B4535 #180B45 #450B1B
split-complementary
#38450B #0B1B45 #350B45
monochromatic
#151A04 #151A04 #38450B #637A13 #8EAF1C

Accessibility & contrast

On white

10.37
#38450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#38450B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #38450B
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38450B#FFFFFF#000000##FFFFFF
##38450B1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4002
Deuteranopia (green-blind)
#484010
Tritanopia (blue-blind)
#3C413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38450b;
/* rgb */ color: rgb(56, 69, 11);
/* oklch */ color: oklch(36.6% 0.081 121.8);
Tailwind
colors: {
  custom: {
    50: '#71784f',
    500: '#38450b',
    950: '#000000',
  },
}
SCSS
$custom: #38450b;
$custom-light: #71784f;
$custom-dark: #000000;
JSON
{
  "hex": "#38450b",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 73.448,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36644,
    "c": 0.0806,
    "h": 121.8
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#38450B
secondary
#3E2A81
accent
#39EF62
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38450B

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

Preview Lab → · Contrast checker → · Palette generator →

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