#38771C#38771C

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

Color values

HEX#38771C
RGBrgb(56, 119, 28)
HSLhsl(102, 62%, 29%)
HSVhsv(102, 76%, 47%)
CMYKcmyk(52.9%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.40, -37.31, 41.29)
CIE-LCHlch(44.40, 55.65, 132.10°)
OKLaboklab(50.83% -0.1032 0.093)
OKLCHoklch(50.83% 0.139 138)
XYZxyz(8.4370, 14.1176, 3.3788)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38771C #5B1C77
analogous
#66771C #38771C #1C772D
triadic
#38771C #1C3877 #771C38
tetradic
#38771C #1C6677 #5B1C77 #772D1C
square
#38771C #1C6677 #5B1C77 #772D1C
split-complementary
#38771C #2D1C77 #771C66
monochromatic
#0C1906 #214510 #38771C #4FA928 #6AD13C

Accessibility & contrast

On white

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

On black

3.82
#38771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38771C#FFFFFF#000000##FFFFFF
##38771C1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0A
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#337365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #38771c;
/* rgb */ color: rgb(56, 119, 28);
/* oklch */ color: oklch(50.8% 0.139 138.0);
Tailwind
colors: {
  custom: {
    50: '#769f5f',
    500: '#38771c',
    950: '#000000',
  },
}
SCSS
$custom: #38771c;
$custom-light: #769f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38771c",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 101.538,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.13888,
    "h": 138
  },
  "luminance": 0.14118
}

Semantic roles & 50–950 ramp

primary
#38771C
secondary
#8B44AB
accent
#43E5B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38771C

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

Preview Lab → · Contrast checker → · Palette generator →

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