#38784F#38784F

#38784F is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.9% C 0.093 H 153.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#38784F
RGBrgb(56, 120, 79)
HSLhsl(142, 36%, 35%)
HSVhsv(142, 53%, 47%)
CMYKcmyk(53.3%, 0%, 34.2%, 52.9%)
CIE-LABlab(45.41, -30.58, 16.42)
CIE-LCHlch(45.41, 34.71, 151.77°)
OKLaboklab(51.88% -0.0833 0.0414)
OKLCHoklch(51.88% 0.093 153.6)
XYZxyz(9.7579, 14.8374, 9.7453)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38784F #783861
analogous
#417838 #38784F #38786F
triadic
#38784F #4F3878 #784F38
tetradic
#38784F #384178 #783861 #786F38
square
#38784F #384178 #783861 #786F38
split-complementary
#38784F #6F3878 #783841
monochromatic
#112518 #254E34 #38784F #4BA26A #6FBC8A

Accessibility & contrast

On white

5.29
#38784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#38784F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38784F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38784F#FFFFFF#000000##FFFFFF
##38784F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4C
Deuteranopia (green-blind)
#6F6952
Tritanopia (blue-blind)
#28776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38784f;
/* rgb */ color: rgb(56, 120, 79);
/* oklch */ color: oklch(51.9% 0.093 153.6);
Tailwind
colors: {
  custom: {
    50: '#749f80',
    500: '#38784f',
    950: '#000000',
  },
}
SCSS
$custom: #38784f;
$custom-light: #749f80;
$custom-dark: #000000;
JSON
{
  "hex": "#38784f",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 141.563,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.09299,
    "h": 153.6
  },
  "luminance": 0.14838
}

Semantic roles & 50–950 ramp

primary
#38784F
secondary
#A5678F
accent
#5BA4CC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #38784F

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

Preview Lab → · Contrast checker → · Palette generator →

#38784F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva