#38671B#38671B

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

Color values

HEX#38671B
RGBrgb(56, 103, 27)
HSLhsl(97, 58%, 25%)
HSVhsv(97, 74%, 40%)
CMYKcmyk(45.6%, 0%, 73.8%, 59.6%)
CIE-LABlab(38.93, -30.45, 36.14)
CIE-LCHlch(38.93, 47.26, 130.12°)
OKLaboklab(46.34% -0.0847 0.0821)
OKLCHoklch(46.34% 0.118 135.9)
XYZxyz(6.6788, 10.6200, 2.7346)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38671B #4A1B67
analogous
#5E671B #38671B #1B6724
triadic
#38671B #1B3867 #671B38
tetradic
#38671B #1B5E67 #4A1B67 #67241B
square
#38671B #1B5E67 #4A1B67 #67241B
split-complementary
#38671B #241B67 #671B5E
monochromatic
#0D1806 #1E370E #38671B #529728 #6DC834

Accessibility & contrast

On white

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

On black

3.12
#38671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38671B#FFFFFF#000000##FFFFFF
##38671B1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38671b;
/* rgb */ color: rgb(56, 103, 27);
/* oklch */ color: oklch(46.3% 0.118 135.9);
Tailwind
colors: {
  custom: {
    50: '#73935c',
    500: '#38671b',
    950: '#000000',
  },
}
SCSS
$custom: #38671b;
$custom-light: #73935c;
$custom-dark: #000000;
JSON
{
  "hex": "#38671b",
  "rgb": {
    "r": 56,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 97.105,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46335,
    "c": 0.11793,
    "h": 135.9
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#38671B
secondary
#7A429C
accent
#46E2A6
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #38671B

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

Preview Lab → · Contrast checker → · Palette generator →

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