#38841A#38841A

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

Color values

HEX#38841A
RGBrgb(56, 132, 26)
HSLhsl(103, 67%, 31%)
HSVhsv(103, 80%, 52%)
CMYKcmyk(57.6%, 0%, 80.3%, 48.2%)
CIE-LABlab(48.78, -42.65, 46.29)
CIE-LCHlch(48.78, 62.94, 132.66°)
OKLaboklab(54.44% -0.1177 0.1031)
OKLCHoklch(54.44% 0.156 138.8)
XYZxyz(10.0682, 17.4170, 3.8083)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841A #661A84
analogous
#6D841A #38841A #1A8431
triadic
#38841A #1A3884 #841A38
tetradic
#38841A #1A6D84 #661A84 #84311A
square
#38841A #1A6D84 #661A84 #84311A
split-complementary
#38841A #311A84 #841A6D
monochromatic
#0D1E06 #225110 #38841A #4EB724 #6BD93F

Accessibility & contrast

On white

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

On black

4.48
#38841A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38841A#FFFFFF#000000##FFFFFF
##38841A1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#307F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841a;
/* rgb */ color: rgb(56, 132, 26);
/* oklch */ color: oklch(54.4% 0.156 138.8);
Tailwind
colors: {
  custom: {
    50: '#78a860',
    500: '#38841a',
    950: '#000000',
  },
}
SCSS
$custom: #38841a;
$custom-light: #78a860;
$custom-dark: #000000;
JSON
{
  "hex": "#38841a",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 103.019,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.15645,
    "h": 138.8
  },
  "luminance": 0.17418
}

Semantic roles & 50–950 ramp

primary
#38841A
secondary
#9642B8
accent
#3EEAB9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38841A

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

Preview Lab → · Contrast checker → · Palette generator →

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