#38851E#38851E

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

Color values

HEX#38851E
RGBrgb(56, 133, 30)
HSLhsl(105, 63%, 32%)
HSVhsv(105, 77%, 52%)
CMYKcmyk(57.9%, 0%, 77.4%, 47.8%)
CIE-LABlab(49.14, -42.77, 45.24)
CIE-LCHlch(49.14, 62.26, 133.39°)
OKLaboklab(54.74% -0.1177 0.1015)
OKLCHoklch(54.74% 0.155 139.2)
XYZxyz(10.2523, 17.7087, 4.1059)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38851E #6B1E85
analogous
#6C851E #38851E #1E8537
triadic
#38851E #1E3885 #851E38
tetradic
#38851E #1E6C85 #6B1E85 #85371E
square
#38851E #1E6C85 #6B1E85 #85371E
split-complementary
#38851E #371E85 #851E6C
monochromatic
#0E2107 #235313 #38851E #4DB729 #6CD648

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38851E#FFFFFF#000000##FFFFFF
##38851E1.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)
#897907
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #38851e;
/* rgb */ color: rgb(56, 133, 30);
/* oklch */ color: oklch(54.7% 0.155 139.2);
Tailwind
colors: {
  custom: {
    50: '#78a962',
    500: '#38851e',
    950: '#000000',
  },
}
SCSS
$custom: #38851e;
$custom-light: #78a962;
$custom-dark: #000000;
JSON
{
  "hex": "#38851e",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 104.854,
    "s": 63.19,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.15548,
    "h": 139.2
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#38851E
secondary
#9B47B8
accent
#42E6BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38851E

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

Preview Lab → · Contrast checker → · Palette generator →

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