#38781E#38781E

#38781E is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.139 H 138.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#38781E
RGBrgb(56, 120, 30)
HSLhsl(103, 60%, 29%)
HSVhsv(103, 75%, 47%)
CMYKcmyk(53.3%, 0%, 75%, 52.9%)
CIE-LABlab(44.75, -37.57, 40.86)
CIE-LCHlch(44.75, 55.51, 132.59°)
OKLaboklab(51.13% -0.1037 0.0924)
OKLCHoklch(51.13% 0.139 138.3)
XYZxyz(8.5814, 14.3668, 3.5489)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38781E #5E1E78
analogous
#65781E #38781E #1E7831
triadic
#38781E #1E3878 #781E38
tetradic
#38781E #1E6578 #5E1E78 #78311E
square
#38781E #1E6578 #5E1E78 #78311E
split-complementary
#38781E #311E78 #781E65
monochromatic
#0B1806 #214712 #38781E #4FA92A #6ACF41

Accessibility & contrast

On white

5.42
#38781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#38781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38781E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38781E#FFFFFF#000000##FFFFFF
##38781E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0E
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#337466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #38781e;
/* rgb */ color: rgb(56, 120, 30);
/* oklch */ color: oklch(51.1% 0.139 138.3);
Tailwind
colors: {
  custom: {
    50: '#769f60',
    500: '#38781e',
    950: '#000000',
  },
}
SCSS
$custom: #38781e;
$custom-light: #769f60;
$custom-dark: #000000;
JSON
{
  "hex": "#38781e",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 102.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51125,
    "c": 0.1389,
    "h": 138.3
  },
  "luminance": 0.14367
}

Semantic roles & 50–950 ramp

primary
#38781E
secondary
#8E46AC
accent
#45E3B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38781E

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

Preview Lab → · Contrast checker → · Palette generator →

#38781E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva