#38851F#38851F

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

Color values

HEX#38851F
RGBrgb(56, 133, 31)
HSLhsl(105, 62%, 32%)
HSVhsv(105, 77%, 52%)
CMYKcmyk(57.9%, 0%, 76.7%, 47.8%)
CIE-LABlab(49.15, -42.70, 44.89)
CIE-LCHlch(49.15, 61.95, 133.57°)
OKLaboklab(54.75% -0.1175 0.1009)
OKLCHoklch(54.75% 0.155 139.3)
XYZxyz(10.2653, 17.7139, 4.1742)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38851F #6C1F85
analogous
#6B851F #38851F #1F8539
triadic
#38851F #1F3885 #851F38
tetradic
#38851F #1F6B85 #6C1F85 #85391F
square
#38851F #1F6B85 #6C1F85 #85391F
split-complementary
#38851F #391F85 #851F6B
monochromatic
#0E2208 #235313 #38851F #4DB72B #6CD54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38851F#FFFFFF#000000##FFFFFF
##38851F1.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)
#89790A
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #38851f;
/* rgb */ color: rgb(56, 133, 31);
/* oklch */ color: oklch(54.7% 0.155 139.3);
Tailwind
colors: {
  custom: {
    50: '#78a962',
    500: '#38851f',
    950: '#000000',
  },
}
SCSS
$custom: #38851f;
$custom-light: #78a962;
$custom-dark: #000000;
JSON
{
  "hex": "#38851f",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 105.294,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.1549,
    "h": 139.3
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#38851F
secondary
#9C49B7
accent
#43E5BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38851F

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

Preview Lab → · Contrast checker → · Palette generator →

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