#38852F#38852F

#38852F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.9% C 0.144 H 141.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#38852F
RGBrgb(56, 133, 47)
HSLhsl(114, 48%, 35%)
HSVhsv(114, 65%, 52%)
CMYKcmyk(57.9%, 0%, 64.7%, 47.8%)
CIE-LABlab(49.28, -41.22, 38.29)
CIE-LCHlch(49.28, 56.26, 137.11°)
OKLaboklab(54.9% -0.1125 0.0891)
OKLCHoklch(54.9% 0.144 141.6)
XYZxyz(10.5310, 17.8201, 5.5735)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38852F #7C2F85
analogous
#63852F #38852F #2F8551
triadic
#38852F #2F3885 #852F38
tetradic
#38852F #2F6385 #7C2F85 #85512F
square
#38852F #2F6385 #7C2F85 #85512F
split-complementary
#38852F #512F85 #852F63
monochromatic
#122B0F #25581F #38852F #4BB23F #70C966

Accessibility & contrast

On white

4.60
#38852F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#38852F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #38852F
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38852F#FFFFFF#000000##FFFFFF
##38852F1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887925
Deuteranopia (green-blind)
#7E7336
Tritanopia (blue-blind)
#2D8173
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #38852f;
/* rgb */ color: rgb(56, 133, 47);
/* oklch */ color: oklch(54.9% 0.144 141.6);
Tailwind
colors: {
  custom: {
    50: '#77a96b',
    500: '#38852f',
    950: '#000000',
  },
}
SCSS
$custom: #38852f;
$custom-light: #77a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#38852f",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 113.721,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.14353,
    "h": 141.6
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#38852F
secondary
#A760B0
accent
#50D7C9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #38852F

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

Preview Lab → · Contrast checker → · Palette generator →

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