#38841C#38841C

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

Color values

HEX#38841C
RGBrgb(56, 132, 28)
HSLhsl(104, 65%, 31%)
HSVhsv(104, 79%, 52%)
CMYKcmyk(57.6%, 0%, 78.8%, 48.2%)
CIE-LABlab(48.79, -42.52, 45.61)
CIE-LCHlch(48.79, 62.36, 132.99°)
OKLaboklab(54.45% -0.1172 0.102)
OKLCHoklch(54.45% 0.155 139)
XYZxyz(10.0914, 17.4263, 3.9302)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841C #681C84
analogous
#6C841C #38841C #1C8434
triadic
#38841C #1C3884 #841C38
tetradic
#38841C #1C6C84 #681C84 #84341C
square
#38841C #1C6C84 #681C84 #84341C
split-complementary
#38841C #341C84 #841C6C
monochromatic
#0D1F07 #235211 #38841C #4DB627 #6BD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38841C#FFFFFF#000000##FFFFFF
##38841C1.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)
#887803
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#307F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841c;
/* rgb */ color: rgb(56, 132, 28);
/* oklch */ color: oklch(54.4% 0.155 139.0);
Tailwind
colors: {
  custom: {
    50: '#78a861',
    500: '#38841c',
    950: '#000000',
  },
}
SCSS
$custom: #38841c;
$custom-light: #78a861;
$custom-dark: #000000;
JSON
{
  "hex": "#38841c",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 103.846,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54449,
    "c": 0.15538,
    "h": 139
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#38841C
secondary
#9845B7
accent
#40E8BB
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38841C

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

Preview Lab → · Contrast checker → · Palette generator →

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