#38781D#38781D

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

Color values

HEX#38781D
RGBrgb(56, 120, 29)
HSLhsl(102, 61%, 29%)
HSVhsv(102, 76%, 47%)
CMYKcmyk(53.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(44.75, -37.64, 41.25)
CIE-LCHlch(44.75, 55.85, 132.38°)
OKLaboklab(51.12% -0.104 0.093)
OKLCHoklch(51.12% 0.14 138.2)
XYZxyz(8.5688, 14.3618, 3.4827)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38781D #5D1D78
analogous
#66781D #38781D #1D7830
triadic
#38781D #1D3878 #781D38
tetradic
#38781D #1D6678 #5D1D78 #78301D
square
#38781D #1D6678 #5D1D78 #78301D
split-complementary
#38781D #301D78 #781D66
monochromatic
#0C1906 #214711 #38781D #4FA929 #6AD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38781D#FFFFFF#000000##FFFFFF
##38781D1.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)
#7C6D0C
Deuteranopia (green-blind)
#746826
Tritanopia (blue-blind)
#337466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #38781d;
/* rgb */ color: rgb(56, 120, 29);
/* oklch */ color: oklch(51.1% 0.140 138.2);
Tailwind
colors: {
  custom: {
    50: '#769f60',
    500: '#38781d',
    950: '#000000',
  },
}
SCSS
$custom: #38781d;
$custom-light: #769f60;
$custom-dark: #000000;
JSON
{
  "hex": "#38781d",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 102.198,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.13955,
    "h": 138.2
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#38781D
secondary
#8D45AC
accent
#44E4B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38781D

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

Preview Lab → · Contrast checker → · Palette generator →

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