#38671C#38671C

#38671C is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.3% C 0.117 H 136.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#38671C
RGBrgb(56, 103, 28)
HSLhsl(98, 57%, 26%)
HSVhsv(98, 73%, 40%)
CMYKcmyk(45.6%, 0%, 72.8%, 59.6%)
CIE-LABlab(38.94, -30.37, 35.72)
CIE-LCHlch(38.94, 46.88, 130.37°)
OKLaboklab(46.35% -0.0844 0.0813)
OKLCHoklch(46.35% 0.117 136.1)
XYZxyz(6.6906, 10.6247, 2.7966)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38671C #4B1C67
analogous
#5D671C #38671C #1C6725
triadic
#38671C #1C3867 #671C38
tetradic
#38671C #1C5D67 #4B1C67 #67251C
square
#38671C #1C5D67 #4B1C67 #67251C
split-complementary
#38671C #251C67 #671C5D
monochromatic
#0D1807 #1E370F #38671C #529729 #6CC736

Accessibility & contrast

On white

6.72
#38671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#38671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38671C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38671C#FFFFFF#000000##FFFFFF
##38671C1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E11
Deuteranopia (green-blind)
#645A23
Tritanopia (blue-blind)
#366358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #38671c;
/* rgb */ color: rgb(56, 103, 28);
/* oklch */ color: oklch(46.3% 0.117 136.1);
Tailwind
colors: {
  custom: {
    50: '#73935d',
    500: '#38671c',
    950: '#000000',
  },
}
SCSS
$custom: #38671c;
$custom-light: #73935d;
$custom-dark: #000000;
JSON
{
  "hex": "#38671c",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 97.6,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.11719,
    "h": 136.1
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#38671C
secondary
#7B439C
accent
#47E1A7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38671C

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

Preview Lab → · Contrast checker → · Palette generator →

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