#38822C#38822C

#38822C is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.0% C 0.142 H 141.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#38822C
RGBrgb(56, 130, 44)
HSLhsl(112, 49%, 34%)
HSVhsv(112, 66%, 51%)
CMYKcmyk(56.9%, 0%, 66.2%, 49%)
CIE-LABlab(48.24, -40.34, 38.53)
CIE-LCHlch(48.24, 55.78, 136.32°)
OKLaboklab(54.04% -0.1103 0.0893)
OKLCHoklch(54.04% 0.142 141)
XYZxyz(10.0677, 16.9870, 5.1307)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38822C #762C82
analogous
#63822C #38822C #2C824B
triadic
#38822C #2C3882 #822C38
tetradic
#38822C #2C6382 #762C82 #824B2C
square
#38822C #2C6382 #762C82 #824B2C
split-complementary
#38822C #4B2C82 #822C63
monochromatic
#11270D #24541D #38822C #4CB03B #6EC95F

Accessibility & contrast

On white

4.78
#38822C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#38822C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38822C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38822C#FFFFFF#000000##FFFFFF
##38822C1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857622
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#2F7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38822c;
/* rgb */ color: rgb(56, 130, 44);
/* oklch */ color: oklch(54.0% 0.142 141.0);
Tailwind
colors: {
  custom: {
    50: '#77a769',
    500: '#38822c',
    950: '#000000',
  },
}
SCSS
$custom: #38822c;
$custom-light: #77a769;
$custom-dark: #000000;
JSON
{
  "hex": "#38822c",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 44
  },
  "hsl": {
    "h": 111.628,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.14192,
    "h": 141
  },
  "luminance": 0.16988
}

Semantic roles & 50–950 ramp

primary
#38822C
secondary
#A35BAF
accent
#4FD9C6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #38822C

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

Preview Lab → · Contrast checker → · Palette generator →

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