#38811C#38811C

#38811C is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.152 H 138.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#38811C
RGBrgb(56, 129, 28)
HSLhsl(103, 64%, 31%)
HSVhsv(103, 78%, 51%)
CMYKcmyk(56.6%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.78, -41.35, 44.63)
CIE-LCHlch(47.78, 60.84, 132.81°)
OKLaboklab(53.62% -0.114 0.1)
OKLCHoklch(53.62% 0.152 138.8)
XYZxyz(9.6904, 16.6243, 3.7966)
Luminance0.1663 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38811C #651C81
analogous
#6A811C #38811C #1C8132
triadic
#38811C #1C3881 #811C38
tetradic
#38811C #1C6A81 #651C81 #81321C
square
#38811C #1C6A81 #651C81 #81321C
split-complementary
#38811C #321C81 #811C6A
monochromatic
#0C1C06 #224F11 #38811C #4EB327 #6BD642

Accessibility & contrast

On white

4.86
#38811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#38811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38811C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38811C#FFFFFF#000000##FFFFFF
##38811C1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7C6F27
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38811c;
/* rgb */ color: rgb(56, 129, 28);
/* oklch */ color: oklch(53.6% 0.152 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a660',
    500: '#38811c',
    950: '#000000',
  },
}
SCSS
$custom: #38811c;
$custom-light: #77a660;
$custom-dark: #000000;
JSON
{
  "hex": "#38811c",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 103.366,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53616,
    "c": 0.15165,
    "h": 138.8
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#38811C
secondary
#9544B4
accent
#40E7B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38811C

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

Preview Lab → · Contrast checker → · Palette generator →

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