#38661C#38661C

#38661C is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.116 H 135.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#38661C
RGBrgb(56, 102, 28)
HSLhsl(97, 57%, 25%)
HSVhsv(97, 73%, 40%)
CMYKcmyk(45.1%, 0%, 72.5%, 60%)
CIE-LABlab(38.60, -29.91, 35.36)
CIE-LCHlch(38.60, 46.31, 130.23°)
OKLaboklab(46.06% -0.0831 0.0806)
OKLCHoklch(46.06% 0.116 135.9)
XYZxyz(6.5917, 10.4270, 2.7637)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38661C #4A1C66
analogous
#5D661C #38661C #1C6625
triadic
#38661C #1C3866 #661C38
tetradic
#38661C #1C5D66 #4A1C66 #66251C
square
#38661C #1C5D66 #4A1C66 #66251C
split-complementary
#38661C #251C66 #661C5D
monochromatic
#0D1807 #1E360F #38661C #529629 #6DC636

Accessibility & contrast

On white

6.81
#38661C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#38661C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38661C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38661C#FFFFFF#000000##FFFFFF
##38661C1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D11
Deuteranopia (green-blind)
#645923
Tritanopia (blue-blind)
#366257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #38661c;
/* rgb */ color: rgb(56, 102, 28);
/* oklch */ color: oklch(46.1% 0.116 135.9);
Tailwind
colors: {
  custom: {
    50: '#73925d',
    500: '#38661c',
    950: '#000000',
  },
}
SCSS
$custom: #38661c;
$custom-light: #73925d;
$custom-dark: #000000;
JSON
{
  "hex": "#38661c",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 28
  },
  "hsl": {
    "h": 97.297,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46064,
    "c": 0.11578,
    "h": 135.9
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#38661C
secondary
#7A439B
accent
#48E0A6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38661C

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

Preview Lab → · Contrast checker → · Palette generator →

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