#38841E#38841E

#38841E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.154 H 139.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#38841E
RGBrgb(56, 132, 30)
HSLhsl(105, 63%, 32%)
HSVhsv(105, 77%, 52%)
CMYKcmyk(57.6%, 0%, 77.3%, 48.2%)
CIE-LABlab(48.80, -42.38, 44.91)
CIE-LCHlch(48.80, 61.75, 133.34°)
OKLaboklab(54.46% -0.1167 0.1009)
OKLCHoklch(54.46% 0.154 139.2)
XYZxyz(10.1161, 17.4362, 4.0605)
Luminance0.1744 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841E #6A1E84
analogous
#6B841E #38841E #1E8437
triadic
#38841E #1E3884 #841E38
tetradic
#38841E #1E6B84 #6A1E84 #84371E
square
#38841E #1E6B84 #6A1E84 #84371E
split-complementary
#38841E #371E84 #841E6B
monochromatic
#0E2007 #235213 #38841E #4DB629 #6BD547

Accessibility & contrast

On white

4.68
#38841E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#38841E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38841E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38841E#FFFFFF#000000##FFFFFF
##38841E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#7E7229
Tritanopia (blue-blind)
#307F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841e;
/* rgb */ color: rgb(56, 132, 30);
/* oklch */ color: oklch(54.5% 0.154 139.2);
Tailwind
colors: {
  custom: {
    50: '#78a862',
    500: '#38841e',
    950: '#000000',
  },
}
SCSS
$custom: #38841e;
$custom-light: #78a862;
$custom-dark: #000000;
JSON
{
  "hex": "#38841e",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 104.706,
    "s": 62.963,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54463,
    "c": 0.15424,
    "h": 139.2
  },
  "luminance": 0.17437
}

Semantic roles & 50–950 ramp

primary
#38841E
secondary
#9A47B7
accent
#42E6BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38841E

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

Preview Lab → · Contrast checker → · Palette generator →

#38841E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva