#38842B#38842B

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

Color values

HEX#38842B
RGBrgb(56, 132, 43)
HSLhsl(111, 51%, 34%)
HSVhsv(111, 67%, 52%)
CMYKcmyk(57.6%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.90, -41.25, 39.71)
CIE-LCHlch(48.90, 57.25, 136.09°)
OKLaboklab(54.58% -0.1128 0.0917)
OKLCHoklch(54.58% 0.145 140.9)
XYZxyz(10.3177, 17.5168, 5.1224)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38842B #772B84
analogous
#65842B #38842B #2B844B
triadic
#38842B #2B3884 #842B38
tetradic
#38842B #2B6584 #772B84 #844B2B
square
#38842B #2B6584 #772B84 #844B2B
split-complementary
#38842B #4B2B84 #842B65
monochromatic
#11280D #24561C #38842B #4CB23A #6ECB5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38842B#FFFFFF#000000##FFFFFF
##38842B1.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)
#877820
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#2E8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38842b;
/* rgb */ color: rgb(56, 132, 43);
/* oklch */ color: oklch(54.6% 0.145 140.9);
Tailwind
colors: {
  custom: {
    50: '#77a869',
    500: '#38842b',
    950: '#000000',
  },
}
SCSS
$custom: #38842b;
$custom-light: #77a869;
$custom-dark: #000000;
JSON
{
  "hex": "#38842b",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 111.236,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54577,
    "c": 0.14537,
    "h": 140.9
  },
  "luminance": 0.17518
}

Semantic roles & 50–950 ramp

primary
#38842B
secondary
#A45AB1
accent
#4DDAC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #38842B

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

Preview Lab → · Contrast checker → · Palette generator →

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