#38661D#38661D

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

Color values

HEX#38661D
RGBrgb(56, 102, 29)
HSLhsl(98, 56%, 26%)
HSVhsv(98, 72%, 40%)
CMYKcmyk(45.1%, 0%, 71.6%, 60%)
CIE-LABlab(38.61, -29.82, 34.92)
CIE-LCHlch(38.61, 45.92, 130.49°)
OKLaboklab(46.07% -0.0828 0.0798)
OKLCHoklch(46.07% 0.115 136.1)
XYZxyz(6.6039, 10.4318, 2.8277)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38661D #4B1D66
analogous
#5C661D #38661D #1D6626
triadic
#38661D #1D3866 #661D38
tetradic
#38661D #1D5C66 #4B1D66 #66261D
square
#38661D #1D5C66 #4B1D66 #66261D
split-complementary
#38661D #261D66 #661D5C
monochromatic
#0D1807 #1E360F #38661D #52962B #6CC538

Accessibility & contrast

On white

6.80
#38661D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38661D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38661D#FFFFFF#000000##FFFFFF
##38661D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38661d;
/* rgb */ color: rgb(56, 102, 29);
/* oklch */ color: oklch(46.1% 0.115 136.1);
Tailwind
colors: {
  custom: {
    50: '#73925d',
    500: '#38661d',
    950: '#000000',
  },
}
SCSS
$custom: #38661d;
$custom-light: #73925d;
$custom-dark: #000000;
JSON
{
  "hex": "#38661d",
  "rgb": {
    "r": 56,
    "g": 102,
    "b": 29
  },
  "hsl": {
    "h": 97.808,
    "s": 55.725,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.115,
    "h": 136.1
  },
  "luminance": 0.10432
}

Semantic roles & 50–950 ramp

primary
#38661D
secondary
#7B449B
accent
#49DFA7
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38661D

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

Preview Lab → · Contrast checker → · Palette generator →

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