#38671D#38671D

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

Color values

HEX#38671D
RGBrgb(56, 103, 29)
HSLhsl(98, 56%, 26%)
HSVhsv(98, 72%, 40%)
CMYKcmyk(45.6%, 0%, 71.8%, 59.6%)
CIE-LABlab(38.95, -30.28, 35.28)
CIE-LCHlch(38.95, 46.49, 130.63°)
OKLaboklab(46.35% -0.0841 0.0806)
OKLCHoklch(46.35% 0.116 136.2)
XYZxyz(6.7027, 10.6296, 2.8607)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38671D #4C1D67
analogous
#5D671D #38671D #1D6727
triadic
#38671D #1D3867 #671D38
tetradic
#38671D #1D5D67 #4C1D67 #67271D
square
#38671D #1D5D67 #4C1D67 #67271D
split-complementary
#38671D #271D67 #671D5D
monochromatic
#0D1807 #1E3710 #38671D #52972A #6CC738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38671D#FFFFFF#000000##FFFFFF
##38671D1.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)
#6B5E12
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#366358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #38671d;
/* rgb */ color: rgb(56, 103, 29);
/* oklch */ color: oklch(46.4% 0.116 136.2);
Tailwind
colors: {
  custom: {
    50: '#73935d',
    500: '#38671d',
    950: '#000000',
  },
}
SCSS
$custom: #38671d;
$custom-light: #73935d;
$custom-dark: #000000;
JSON
{
  "hex": "#38671d",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 98.108,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.46354,
    "c": 0.11643,
    "h": 136.2
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#38671D
secondary
#7C449C
accent
#48DFA8
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38671D

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

Preview Lab → · Contrast checker → · Palette generator →

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