#38842A#38842A

#38842A is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.146 H 140.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#38842A
RGBrgb(56, 132, 42)
HSLhsl(111, 52%, 34%)
HSVhsv(111, 68%, 52%)
CMYKcmyk(57.6%, 0%, 68.2%, 48.2%)
CIE-LABlab(48.90, -41.35, 40.14)
CIE-LCHlch(48.90, 57.63, 135.85°)
OKLaboklab(54.57% -0.1131 0.0925)
OKLCHoklch(54.57% 0.146 140.7)
XYZxyz(10.2996, 17.5096, 5.0270)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38842A #762A84
analogous
#65842A #38842A #2A8449
triadic
#38842A #2A3884 #842A38
tetradic
#38842A #2A6584 #762A84 #84492A
square
#38842A #2A6584 #762A84 #84492A
split-complementary
#38842A #492A84 #842A65
monochromatic
#11270C #24561B #38842A #4CB239 #6ECB5D

Accessibility & contrast

On white

4.66
#38842A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#38842A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #38842A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38842A#FFFFFF#000000##FFFFFF
##38842A1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87781E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#2E8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38842a;
/* rgb */ color: rgb(56, 132, 42);
/* oklch */ color: oklch(54.6% 0.146 140.7);
Tailwind
colors: {
  custom: {
    50: '#77a868',
    500: '#38842a',
    950: '#000000',
  },
}
SCSS
$custom: #38842a;
$custom-light: #77a868;
$custom-dark: #000000;
JSON
{
  "hex": "#38842a",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 42
  },
  "hsl": {
    "h": 110.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.14614,
    "h": 140.7
  },
  "luminance": 0.1751
}

Semantic roles & 50–950 ramp

primary
#38842A
secondary
#A359B1
accent
#4DDBC5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #38842A

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

Preview Lab → · Contrast checker → · Palette generator →

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