#38701C#38701C

#38701C is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.9% C 0.130 H 137.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#38701C
RGBrgb(56, 112, 28)
HSLhsl(100, 60%, 27%)
HSVhsv(100, 75%, 44%)
CMYKcmyk(50%, 0%, 75%, 56.1%)
CIE-LABlab(42.02, -34.35, 38.89)
CIE-LCHlch(42.02, 51.89, 131.45°)
OKLaboklab(48.87% -0.0952 0.088)
OKLCHoklch(48.87% 0.13 137.3)
XYZxyz(7.6344, 12.5124, 3.1112)
Luminance0.1251 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38701C #541C70
analogous
#62701C #38701C #1C702A
triadic
#38701C #1C3870 #701C38
tetradic
#38701C #1C6270 #541C70 #702A1C
square
#38701C #1C6270 #541C70 #702A1C
split-complementary
#38701C #2A1C70 #701C62
monochromatic
#0C1806 #203F10 #38701C #50A128 #6ACD39

Accessibility & contrast

On white

6.00
#38701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#38701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38701C
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38701C#FFFFFF#000000##FFFFFF
##38701C1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74660E
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#356C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38701c;
/* rgb */ color: rgb(56, 112, 28);
/* oklch */ color: oklch(48.9% 0.130 137.3);
Tailwind
colors: {
  custom: {
    50: '#74995e',
    500: '#38701c',
    950: '#000000',
  },
}
SCSS
$custom: #38701c;
$custom-light: #74995e;
$custom-dark: #000000;
JSON
{
  "hex": "#38701c",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 100,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.12959,
    "h": 137.3
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#38701C
secondary
#8443A5
accent
#45E3AE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38701C

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

Preview Lab → · Contrast checker → · Palette generator →

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