#38450C#38450C

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

Color values

HEX#38450C
RGBrgb(56, 69, 12)
HSLhsl(74, 70%, 16%)
HSVhsv(74, 83%, 27%)
CMYKcmyk(18.8%, 0%, 82.6%, 72.9%)
CIE-LABlab(27.08, -14.36, 30.59)
CIE-LCHlch(27.08, 33.79, 115.14°)
OKLaboklab(36.65% -0.0422 0.0679)
OKLCHoklch(36.65% 0.08 121.9)
XYZxyz(3.8254, 5.1235, 1.1352)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38450C #190C45
analogous
#45350C #38450C #1B450C
triadic
#38450C #0C3845 #450C38
tetradic
#38450C #0C4535 #190C45 #450C1B
square
#38450C #0C4535 #190C45 #450C1B
split-complementary
#38450C #0C1B45 #350C45
monochromatic
#151A05 #151A05 #38450C #627915 #8DAD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38450C#FFFFFF#000000##FFFFFF
##38450C1.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)
#4A4003
Deuteranopia (green-blind)
#484011
Tritanopia (blue-blind)
#3B413A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #38450c;
/* rgb */ color: rgb(56, 69, 12);
/* oklch */ color: oklch(36.7% 0.080 121.9);
Tailwind
colors: {
  custom: {
    50: '#717850',
    500: '#38450c',
    950: '#000000',
  },
}
SCSS
$custom: #38450c;
$custom-light: #717850;
$custom-dark: #000000;
JSON
{
  "hex": "#38450c",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 73.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36652,
    "c": 0.07993,
    "h": 121.9
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#38450C
secondary
#3F2C81
accent
#3BED63
background
#F6F7F4
surface
#ECEDE7
border
#C7C8C3
text
#080902
muted
#7B7B78

Preview Lab

Preview with #38450C

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

Preview Lab → · Contrast checker → · Palette generator →

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