#38771E#38771E

#38771E is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.8% C 0.138 H 138.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#38771E
RGBrgb(56, 119, 30)
HSLhsl(102, 60%, 29%)
HSVhsv(102, 75%, 47%)
CMYKcmyk(52.9%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.42, -37.15, 40.52)
CIE-LCHlch(44.42, 54.97, 132.52°)
OKLaboklab(50.85% -0.1026 0.0917)
OKLCHoklch(50.85% 0.138 138.2)
XYZxyz(8.4618, 14.1275, 3.5090)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38771E #5D1E77
analogous
#65771E #38771E #1E7731
triadic
#38771E #1E3877 #771E38
tetradic
#38771E #1E6577 #5D1E77 #77311E
square
#38771E #1E6577 #5D1E77 #77311E
split-complementary
#38771E #311E77 #771E65
monochromatic
#0C1806 #214612 #38771E #4FA82A #6ACF40

Accessibility & contrast

On white

5.49
#38771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#38771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38771E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38771E#FFFFFF#000000##FFFFFF
##38771E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0F
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#337366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #38771e;
/* rgb */ color: rgb(56, 119, 30);
/* oklch */ color: oklch(50.8% 0.138 138.2);
Tailwind
colors: {
  custom: {
    50: '#759f60',
    500: '#38771e',
    950: '#000000',
  },
}
SCSS
$custom: #38771e;
$custom-light: #759f60;
$custom-dark: #000000;
JSON
{
  "hex": "#38771e",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 102.472,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50845,
    "c": 0.13758,
    "h": 138.2
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

primary
#38771E
secondary
#8D46AB
accent
#45E3B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38771E

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

Preview Lab → · Contrast checker → · Palette generator →

#38771E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva