#38842F#38842F

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

Color values

HEX#38842F
RGBrgb(56, 132, 47)
HSLhsl(114, 47%, 35%)
HSVhsv(114, 64%, 52%)
CMYKcmyk(57.6%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.94, -40.82, 37.91)
CIE-LCHlch(48.94, 55.71, 137.11°)
OKLaboklab(54.62% -0.1114 0.0883)
OKLCHoklch(54.62% 0.142 141.6)
XYZxyz(10.3947, 17.5476, 5.5280)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38842F #7B2F84
analogous
#62842F #38842F #2F8450
triadic
#38842F #2F3884 #842F38
tetradic
#38842F #2F6284 #7B2F84 #84502F
square
#38842F #2F6284 #7B2F84 #84502F
split-complementary
#38842F #502F84 #842F62
monochromatic
#122A0F #25571F #38842F #4BB13F #70C865

Accessibility & contrast

On white

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

On black

4.51
#38842F on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38842F#FFFFFF#000000##FFFFFF
##38842F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#7D7236
Tritanopia (blue-blind)
#2E8072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38842f;
/* rgb */ color: rgb(56, 132, 47);
/* oklch */ color: oklch(54.6% 0.142 141.6);
Tailwind
colors: {
  custom: {
    50: '#77a86b',
    500: '#38842f',
    950: '#000000',
  },
}
SCSS
$custom: #38842f;
$custom-light: #77a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#38842f",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 113.647,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54621,
    "c": 0.14218,
    "h": 141.6
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#38842F
secondary
#A760AF
accent
#51D7C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #38842F

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

Preview Lab → · Contrast checker → · Palette generator →

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