#38822A#38822A

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

Color values

HEX#38822A
RGBrgb(56, 130, 42)
HSLhsl(110, 51%, 34%)
HSVhsv(110, 68%, 51%)
CMYKcmyk(56.9%, 0%, 67.7%, 49%)
CIE-LABlab(48.23, -40.55, 39.41)
CIE-LCHlch(48.23, 56.55, 135.81°)
OKLaboklab(54.01% -0.111 0.091)
OKLCHoklch(54.01% 0.143 140.7)
XYZxyz(10.0310, 16.9723, 4.9374)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38822A #742A82
analogous
#64822A #38822A #2A8248
triadic
#38822A #2A3882 #822A38
tetradic
#38822A #2A6482 #742A82 #82482A
square
#38822A #2A6482 #742A82 #82482A
split-complementary
#38822A #482A82 #822A64
monochromatic
#10250C #24541B #38822A #4CB039 #6ECA5C

Accessibility & contrast

On white

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

On black

4.39
#38822A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38822A#FFFFFF#000000##FFFFFF
##38822A1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85761F
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#2F7E70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38822a;
/* rgb */ color: rgb(56, 130, 42);
/* oklch */ color: oklch(54.0% 0.143 140.7);
Tailwind
colors: {
  custom: {
    50: '#77a768',
    500: '#38822a',
    950: '#000000',
  },
}
SCSS
$custom: #38822a;
$custom-light: #77a768;
$custom-dark: #000000;
JSON
{
  "hex": "#38822a",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 110.455,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.14349,
    "h": 140.7
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#38822A
secondary
#A258B0
accent
#4DDBC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #38822A

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

Preview Lab → · Contrast checker → · Palette generator →

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