#38841D#38841D

#38841D is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.155 H 139.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#38841D
RGBrgb(56, 132, 29)
HSLhsl(104, 64%, 32%)
HSVhsv(104, 78%, 52%)
CMYKcmyk(57.6%, 0%, 78%, 48.2%)
CIE-LABlab(48.80, -42.45, 45.27)
CIE-LCHlch(48.80, 62.06, 133.16°)
OKLaboklab(54.46% -0.1169 0.1014)
OKLCHoklch(54.46% 0.155 139.1)
XYZxyz(10.1035, 17.4311, 3.9943)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841D #691D84
analogous
#6C841D #38841D #1D8436
triadic
#38841D #1D3884 #841D38
tetradic
#38841D #1D6C84 #691D84 #84361D
square
#38841D #1D6C84 #691D84 #84361D
split-complementary
#38841D #361D84 #841D6C
monochromatic
#0D2007 #235212 #38841D #4DB628 #6BD645

Accessibility & contrast

On white

4.68
#38841D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#38841D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38841D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38841D#FFFFFF#000000##FFFFFF
##38841D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887806
Deuteranopia (green-blind)
#7E7228
Tritanopia (blue-blind)
#307F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841d;
/* rgb */ color: rgb(56, 132, 29);
/* oklch */ color: oklch(54.5% 0.155 139.1);
Tailwind
colors: {
  custom: {
    50: '#78a861',
    500: '#38841d',
    950: '#000000',
  },
}
SCSS
$custom: #38841d;
$custom-light: #78a861;
$custom-dark: #000000;
JSON
{
  "hex": "#38841d",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 104.272,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.15481,
    "h": 139.1
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#38841D
secondary
#9946B7
accent
#41E7BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38841D

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

Preview Lab → · Contrast checker → · Palette generator →

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