#38821C#38821C

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

Color values

HEX#38821C
RGBrgb(56, 130, 28)
HSLhsl(104, 65%, 31%)
HSVhsv(104, 78%, 51%)
CMYKcmyk(56.9%, 0%, 78.5%, 49%)
CIE-LABlab(48.12, -41.74, 44.96)
CIE-LCHlch(48.12, 61.35, 132.87°)
OKLaboklab(53.89% -0.1151 0.1007)
OKLCHoklch(53.89% 0.153 138.8)
XYZxyz(9.8227, 16.8890, 3.8407)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38821C #661C82
analogous
#6B821C #38821C #1C8233
triadic
#38821C #1C3882 #821C38
tetradic
#38821C #1C6B82 #661C82 #82331C
square
#38821C #1C6B82 #661C82 #82331C
split-complementary
#38821C #331C82 #821C6B
monochromatic
#0D1D06 #225011 #38821C #4EB427 #6BD642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38821C#FFFFFF#000000##FFFFFF
##38821C1.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)
#867604
Deuteranopia (green-blind)
#7D7027
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38821c;
/* rgb */ color: rgb(56, 130, 28);
/* oklch */ color: oklch(53.9% 0.153 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a760',
    500: '#38821c',
    950: '#000000',
  },
}
SCSS
$custom: #38821c;
$custom-light: #77a760;
$custom-dark: #000000;
JSON
{
  "hex": "#38821c",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 103.529,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53894,
    "c": 0.1529,
    "h": 138.8
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#38821C
secondary
#9644B5
accent
#40E8BA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38821C

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

Preview Lab → · Contrast checker → · Palette generator →

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