#38783A#38783A

#38783A is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.115 H 144.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#38783A
RGBrgb(56, 120, 58)
HSLhsl(122, 36%, 35%)
HSVhsv(122, 53%, 47%)
CMYKcmyk(53.3%, 0%, 51.7%, 52.9%)
CIE-LABlab(45.05, -34.33, 27.76)
CIE-LCHlch(45.05, 44.15, 141.04°)
OKLaboklab(51.46% -0.0933 0.0671)
OKLCHoklch(51.46% 0.115 144.3)
XYZxyz(9.1106, 14.5785, 6.3360)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38783A #783876
analogous
#567838 #38783A #38785A
triadic
#38783A #3A3878 #783A38
tetradic
#38783A #385678 #783876 #785A38
square
#38783A #385678 #783876 #785A38
split-complementary
#38783A #5A3878 #783856
monochromatic
#112512 #254E26 #38783A #4BA24E #6FBC71

Accessibility & contrast

On white

5.36
#38783A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#38783A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38783A
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38783A#FFFFFF#000000##FFFFFF
##38783A1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E35
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#2E756A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38783a;
/* rgb */ color: rgb(56, 120, 58);
/* oklch */ color: oklch(51.5% 0.115 144.3);
Tailwind
colors: {
  custom: {
    50: '#749f71',
    500: '#38783a',
    950: '#000000',
  },
}
SCSS
$custom: #38783a;
$custom-light: #749f71;
$custom-dark: #000000;
JSON
{
  "hex": "#38783a",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 58
  },
  "hsl": {
    "h": 121.875,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.11491,
    "h": 144.3
  },
  "luminance": 0.14579
}

Semantic roles & 50–950 ramp

primary
#38783A
secondary
#A567A3
accent
#5BC9CC
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E08
muted
#7B7E7B

Preview Lab

Preview with #38783A

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

Preview Lab → · Contrast checker → · Palette generator →

#38783A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva