#38851D#38851D

#38851D is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.156 H 139.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#38851D
RGBrgb(56, 133, 29)
HSLhsl(104, 64%, 32%)
HSVhsv(104, 78%, 52%)
CMYKcmyk(57.9%, 0%, 78.2%, 47.8%)
CIE-LABlab(49.13, -42.84, 45.60)
CIE-LCHlch(49.13, 62.56, 133.21°)
OKLaboklab(54.73% -0.118 0.1021)
OKLCHoklch(54.73% 0.156 139.1)
XYZxyz(10.2398, 17.7037, 4.0397)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38851D #6A1D85
analogous
#6C851D #38851D #1D8536
triadic
#38851D #1D3885 #851D38
tetradic
#38851D #1D6C85 #6A1D85 #85361D
square
#38851D #1D6C85 #6A1D85 #85361D
split-complementary
#38851D #361D85 #851D6C
monochromatic
#0E2107 #235312 #38851D #4DB728 #6BD746

Accessibility & contrast

On white

4.62
#38851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#38851D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #38851D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38851D#FFFFFF#000000##FFFFFF
##38851D1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897905
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #38851d;
/* rgb */ color: rgb(56, 133, 29);
/* oklch */ color: oklch(54.7% 0.156 139.1);
Tailwind
colors: {
  custom: {
    50: '#78a961',
    500: '#38851d',
    950: '#000000',
  },
}
SCSS
$custom: #38851d;
$custom-light: #78a961;
$custom-dark: #000000;
JSON
{
  "hex": "#38851d",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 104.423,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54733,
    "c": 0.15605,
    "h": 139.1
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

primary
#38851D
secondary
#9A46B8
accent
#41E7BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38851D

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

Preview Lab → · Contrast checker → · Palette generator →

#38851D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva