#38831C#38831C

#38831C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.154 H 138.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#38831C
RGBrgb(56, 131, 28)
HSLhsl(104, 65%, 31%)
HSVhsv(104, 79%, 51%)
CMYKcmyk(57.3%, 0%, 78.6%, 48.6%)
CIE-LABlab(48.46, -42.13, 45.29)
CIE-LCHlch(48.46, 61.85, 132.93°)
OKLaboklab(54.17% -0.1161 0.1013)
OKLCHoklch(54.17% 0.154 138.9)
XYZxyz(9.9564, 17.1564, 3.8852)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38831C #671C83
analogous
#6B831C #38831C #1C8333
triadic
#38831C #1C3883 #831C38
tetradic
#38831C #1C6B83 #671C83 #83331C
square
#38831C #1C6B83 #671C83 #83331C
split-complementary
#38831C #331C83 #831C6B
monochromatic
#0D1E06 #225111 #38831C #4EB527 #6BD743

Accessibility & contrast

On white

4.74
#38831C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#38831C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38831C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38831C#FFFFFF#000000##FFFFFF
##38831C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#317E70
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38831c;
/* rgb */ color: rgb(56, 131, 28);
/* oklch */ color: oklch(54.2% 0.154 138.9);
Tailwind
colors: {
  custom: {
    50: '#78a861',
    500: '#38831c',
    950: '#000000',
  },
}
SCSS
$custom: #38831c;
$custom-light: #78a861;
$custom-dark: #000000;
JSON
{
  "hex": "#38831c",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 103.689,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54172,
    "c": 0.15414,
    "h": 138.9
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#38831C
secondary
#9745B6
accent
#40E8BA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38831C

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

Preview Lab → · Contrast checker → · Palette generator →

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