#38811F#38811F

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

Color values

HEX#38811F
RGBrgb(56, 129, 31)
HSLhsl(105, 61%, 31%)
HSVhsv(105, 76%, 51%)
CMYKcmyk(56.6%, 0%, 76%, 49.4%)
CIE-LABlab(47.80, -41.13, 43.55)
CIE-LCHlch(47.80, 59.90, 133.36°)
OKLaboklab(53.64% -0.1133 0.0981)
OKLCHoklch(53.64% 0.15 139.1)
XYZxyz(9.7281, 16.6394, 3.9951)
Luminance0.1664 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38811F #681F81
analogous
#69811F #38811F #1F8137
triadic
#38811F #1F3881 #811F38
tetradic
#38811F #1F6981 #681F81 #81371F
square
#38811F #1F6981 #681F81 #81371F
split-complementary
#38811F #371F81 #811F69
monochromatic
#0D1E07 #235013 #38811F #4DB22B #6BD347

Accessibility & contrast

On white

4.85
#38811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#38811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38811F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38811F#FFFFFF#000000##FFFFFF
##38811F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38811f;
/* rgb */ color: rgb(56, 129, 31);
/* oklch */ color: oklch(53.6% 0.150 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a662',
    500: '#38811f',
    950: '#000000',
  },
}
SCSS
$custom: #38811f;
$custom-light: #77a662;
$custom-dark: #000000;
JSON
{
  "hex": "#38811f",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 104.694,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.14986,
    "h": 139.1
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#38811F
secondary
#9848B4
accent
#43E4BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #38811F

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

Preview Lab → · Contrast checker → · Palette generator →

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