#38771D#38771D

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

Color values

HEX#38771D
RGBrgb(56, 119, 29)
HSLhsl(102, 61%, 29%)
HSVhsv(102, 76%, 47%)
CMYKcmyk(52.9%, 0%, 75.6%, 53.3%)
CIE-LABlab(44.41, -37.23, 40.91)
CIE-LCHlch(44.41, 55.31, 132.30°)
OKLaboklab(50.84% -0.1029 0.0923)
OKLCHoklch(50.84% 0.138 138.1)
XYZxyz(8.4492, 14.1225, 3.4428)
Luminance0.1412 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38771D #5C1D77
analogous
#65771D #38771D #1D772F
triadic
#38771D #1D3877 #771D38
tetradic
#38771D #1D6577 #5C1D77 #772F1D
square
#38771D #1D6577 #5C1D77 #772F1D
split-complementary
#38771D #2F1D77 #771D65
monochromatic
#0C1906 #214611 #38771D #4FA829 #6AD03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38771D#FFFFFF#000000##FFFFFF
##38771D1.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)
#7B6C0D
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#337365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #38771d;
/* rgb */ color: rgb(56, 119, 29);
/* oklch */ color: oklch(50.8% 0.138 138.1);
Tailwind
colors: {
  custom: {
    50: '#759f5f',
    500: '#38771d',
    950: '#000000',
  },
}
SCSS
$custom: #38771d;
$custom-light: #759f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38771d",
  "rgb": {
    "r": 56,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 102,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50837,
    "c": 0.13824,
    "h": 138.1
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#38771D
secondary
#8C45AB
accent
#44E4B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38771D

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

Preview Lab → · Contrast checker → · Palette generator →

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