#38941C#38941C

#38941C is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.175 H 139.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#38941C
RGBrgb(56, 148, 28)
HSLhsl(106, 68%, 35%)
HSVhsv(106, 81%, 58%)
CMYKcmyk(62.2%, 0%, 81.1%, 42%)
CIE-LABlab(54.14, -48.52, 50.72)
CIE-LCHlch(54.14, 70.19, 133.73°)
OKLaboklab(58.87% -0.1333 0.1127)
OKLCHoklch(58.87% 0.175 139.8)
XYZxyz(12.4298, 22.1032, 4.7097)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38941C #781C94
analogous
#74941C #38941C #1C943C
triadic
#38941C #1C3894 #941C38
tetradic
#38941C #1C7494 #781C94 #943C1C
square
#38941C #1C7494 #781C94 #943C1C
split-complementary
#38941C #3C1C94 #941C74
monochromatic
#112D09 #256112 #38941C #4BC726 #6FDD4D

Accessibility & contrast

On white

3.87
#38941C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#38941C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38941C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38941C#FFFFFF#000000##000000
##38941C1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#2C8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38941c;
/* rgb */ color: rgb(56, 148, 28);
/* oklch */ color: oklch(58.9% 0.175 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb463',
    500: '#38941c',
    950: '#000000',
  },
}
SCSS
$custom: #38941c;
$custom-light: #7bb463;
$custom-dark: #000000;
JSON
{
  "hex": "#38941c",
  "rgb": {
    "r": 56,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 106,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.17457,
    "h": 139.8
  },
  "luminance": 0.22104
}

Semantic roles & 50–950 ramp

primary
#38941C
secondary
#A54CC0
accent
#3DEBC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38941C

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

Preview Lab → · Contrast checker → · Palette generator →

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