#38804D#38804D

#38804D is a mid, moderate green. Relative luminance 0.168; OKLCH L 54.0% C 0.108 H 150.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#38804D
RGBrgb(56, 128, 77)
HSLhsl(138, 39%, 36%)
HSVhsv(138, 56%, 50%)
CMYKcmyk(56.3%, 0%, 39.8%, 49.8%)
CIE-LABlab(48.02, -34.63, 21.06)
CIE-LCHlch(48.02, 40.53, 148.69°)
OKLaboklab(54% -0.0939 0.0525)
OKLCHoklch(54% 0.108 150.8)
XYZxyz(10.6889, 16.8140, 9.7019)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38804D #80386B
analogous
#478038 #38804D #388071
triadic
#38804D #4D3880 #804D38
tetradic
#38804D #384780 #80386B #807138
square
#38804D #384780 #80386B #807138
split-complementary
#38804D #713880 #803847
monochromatic
#132B1A #255533 #38804D #4BAB67 #71C189

Accessibility & contrast

On white

4.81
#38804D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#38804D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38804D
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38804D#FFFFFF#000000##FFFFFF
##38804D1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817649
Deuteranopia (green-blind)
#776F50
Tritanopia (blue-blind)
#267E73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38804d;
/* rgb */ color: rgb(56, 128, 77);
/* oklch */ color: oklch(54.0% 0.108 150.8);
Tailwind
colors: {
  custom: {
    50: '#75a57f',
    500: '#38804d',
    950: '#000000',
  },
}
SCSS
$custom: #38804d;
$custom-light: #75a57f;
$custom-dark: #000000;
JSON
{
  "hex": "#38804d",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 77
  },
  "hsl": {
    "h": 137.5,
    "s": 39.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.54001,
    "c": 0.10755,
    "h": 150.8
  },
  "luminance": 0.16815
}

Semantic roles & 50–950 ramp

primary
#38804D
secondary
#AA6A97
accent
#59ADCF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #38804D

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

Preview Lab → · Contrast checker → · Palette generator →

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