#38931C#38931C

#38931C is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.173 H 139.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#38931C
RGBrgb(56, 147, 28)
HSLhsl(106, 68%, 34%)
HSVhsv(106, 81%, 58%)
CMYKcmyk(61.9%, 0%, 81%, 42.4%)
CIE-LABlab(53.80, -48.16, 50.41)
CIE-LCHlch(53.80, 69.71, 133.69°)
OKLaboklab(58.59% -0.1324 0.112)
OKLCHoklch(58.59% 0.173 139.8)
XYZxyz(12.2737, 21.7909, 4.6576)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38931C #771C93
analogous
#74931C #38931C #1C933B
triadic
#38931C #1C3893 #931C38
tetradic
#38931C #1C7493 #771C93 #933B1C
square
#38931C #1C7493 #771C93 #933B1C
split-complementary
#38931C #3B1C93 #931C74
monochromatic
#112C08 #246012 #38931C #4CC626 #6EDD4C

Accessibility & contrast

On white

3.92
#38931C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#38931C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38931C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38931C#FFFFFF#000000##000000
##38931C1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#2C8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38931c;
/* rgb */ color: rgb(56, 147, 28);
/* oklch */ color: oklch(58.6% 0.173 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb463',
    500: '#38931c',
    950: '#000000',
  },
}
SCSS
$custom: #38931c;
$custom-light: #7bb463;
$custom-dark: #000000;
JSON
{
  "hex": "#38931c",
  "rgb": {
    "r": 56,
    "g": 147,
    "b": 28
  },
  "hsl": {
    "h": 105.882,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5859,
    "c": 0.1734,
    "h": 139.8
  },
  "luminance": 0.21792
}

Semantic roles & 50–950 ramp

primary
#38931C
secondary
#A44CBF
accent
#3DEBC2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38931C

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

Preview Lab → · Contrast checker → · Palette generator →

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