#38811B#38811B

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

Color values

HEX#38811B
RGBrgb(56, 129, 27)
HSLhsl(103, 65%, 31%)
HSVhsv(103, 79%, 51%)
CMYKcmyk(56.6%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.78, -41.42, 44.98)
CIE-LCHlch(47.78, 61.14, 132.64°)
OKLaboklab(53.61% -0.1143 0.1005)
OKLCHoklch(53.61% 0.152 138.7)
XYZxyz(9.6786, 16.6196, 3.7346)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38811B #641B81
analogous
#6B811B #38811B #1B8131
triadic
#38811B #1B3881 #811B38
tetradic
#38811B #1B6B81 #641B81 #81311B
square
#38811B #1B6B81 #641B81 #81311B
split-complementary
#38811B #311B81 #811B6B
monochromatic
#0C1C06 #224E10 #38811B #4EB426 #6BD73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38811B#FFFFFF#000000##FFFFFF
##38811B1.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)
#857503
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38811b;
/* rgb */ color: rgb(56, 129, 27);
/* oklch */ color: oklch(53.6% 0.152 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a660',
    500: '#38811b',
    950: '#000000',
  },
}
SCSS
$custom: #38811b;
$custom-light: #77a660;
$custom-dark: #000000;
JSON
{
  "hex": "#38811b",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 102.941,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53609,
    "c": 0.15221,
    "h": 138.7
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#38811B
secondary
#9443B5
accent
#3FE8B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38811B

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

Preview Lab → · Contrast checker → · Palette generator →

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