#38822F#38822F

#38822F is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.139 H 141.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#38822F
RGBrgb(56, 130, 47)
HSLhsl(113, 47%, 35%)
HSVhsv(113, 64%, 51%)
CMYKcmyk(56.9%, 0%, 63.8%, 49%)
CIE-LABlab(48.27, -40.01, 37.16)
CIE-LCHlch(48.27, 54.60, 137.11°)
OKLaboklab(54.07% -0.1092 0.0867)
OKLCHoklch(54.07% 0.139 141.5)
XYZxyz(10.1261, 17.0104, 5.4385)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38822F #792F82
analogous
#62822F #38822F #2F8250
triadic
#38822F #2F3882 #822F38
tetradic
#38822F #2F6282 #792F82 #82502F
square
#38822F #2F6282 #792F82 #82502F
split-complementary
#38822F #502F82 #822F62
monochromatic
#11280E #25551F #38822F #4BAF3F #6FC764

Accessibility & contrast

On white

4.77
#38822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38822F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38822F#FFFFFF#000000##FFFFFF
##38822F1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#7C7036
Tritanopia (blue-blind)
#2E7E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38822f;
/* rgb */ color: rgb(56, 130, 47);
/* oklch */ color: oklch(54.1% 0.139 141.5);
Tailwind
colors: {
  custom: {
    50: '#76a76b',
    500: '#38822f',
    950: '#000000',
  },
}
SCSS
$custom: #38822f;
$custom-light: #76a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#38822f",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 113.494,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.13946,
    "h": 141.5
  },
  "luminance": 0.17011
}

Semantic roles & 50–950 ramp

primary
#38822F
secondary
#A55FAE
accent
#51D7C8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #38822F

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

Preview Lab → · Contrast checker → · Palette generator →

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