#38821D#38821D

#38821D is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.152 H 138.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#38821D
RGBrgb(56, 130, 29)
HSLhsl(104, 64%, 31%)
HSVhsv(104, 78%, 51%)
CMYKcmyk(56.9%, 0%, 77.7%, 49%)
CIE-LABlab(48.13, -41.67, 44.61)
CIE-LCHlch(48.13, 61.04, 133.05°)
OKLaboklab(53.9% -0.1148 0.1001)
OKLCHoklch(53.9% 0.152 138.9)
XYZxyz(9.8349, 16.8939, 3.9047)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38821D #671D82
analogous
#6A821D #38821D #1D8234
triadic
#38821D #1D3882 #821D38
tetradic
#38821D #1D6A82 #671D82 #82341D
square
#38821D #1D6A82 #671D82 #82341D
split-complementary
#38821D #341D82 #821D6A
monochromatic
#0D1E07 #225012 #38821D #4EB428 #6BD544

Accessibility & contrast

On white

4.80
#38821D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#38821D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38821D
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38821D#FFFFFF#000000##FFFFFF
##38821D1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867607
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38821d;
/* rgb */ color: rgb(56, 130, 29);
/* oklch */ color: oklch(53.9% 0.152 138.9);
Tailwind
colors: {
  custom: {
    50: '#77a761',
    500: '#38821d',
    950: '#000000',
  },
}
SCSS
$custom: #38821d;
$custom-light: #77a761;
$custom-dark: #000000;
JSON
{
  "hex": "#38821d",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 103.96,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.15232,
    "h": 138.9
  },
  "luminance": 0.16895
}

Semantic roles & 50–950 ramp

primary
#38821D
secondary
#9746B5
accent
#41E7BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #38821D

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

Preview Lab → · Contrast checker → · Palette generator →

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