#38822B#38822B

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

Color values

HEX#38822B
RGBrgb(56, 130, 43)
HSLhsl(111, 50%, 34%)
HSVhsv(111, 67%, 51%)
CMYKcmyk(56.9%, 0%, 66.9%, 49%)
CIE-LABlab(48.23, -40.44, 38.97)
CIE-LCHlch(48.23, 56.17, 136.06°)
OKLaboklab(54.03% -0.1106 0.0901)
OKLCHoklch(54.03% 0.143 140.8)
XYZxyz(10.0491, 16.9796, 5.0329)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38822B #752B82
analogous
#64822B #38822B #2B824A
triadic
#38822B #2B3882 #822B38
tetradic
#38822B #2B6482 #752B82 #824A2B
square
#38822B #2B6482 #752B82 #824A2B
split-complementary
#38822B #4A2B82 #822B64
monochromatic
#10260D #24541C #38822B #4CB03A #6ECA5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38822B#FFFFFF#000000##FFFFFF
##38822B1.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)
#857620
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#2F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38822b;
/* rgb */ color: rgb(56, 130, 43);
/* oklch */ color: oklch(54.0% 0.143 140.8);
Tailwind
colors: {
  custom: {
    50: '#77a768',
    500: '#38822b',
    950: '#000000',
  },
}
SCSS
$custom: #38822b;
$custom-light: #77a768;
$custom-dark: #000000;
JSON
{
  "hex": "#38822b",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 111.034,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54025,
    "c": 0.14271,
    "h": 140.8
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#38822B
secondary
#A359B0
accent
#4EDAC5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #38822B

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

Preview Lab → · Contrast checker → · Palette generator →

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