#38781B#38781B

#38781B is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.141 H 137.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#38781B
RGBrgb(56, 120, 27)
HSLhsl(101, 63%, 29%)
HSVhsv(101, 78%, 47%)
CMYKcmyk(53.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.73, -37.80, 42.00)
CIE-LCHlch(44.73, 56.50, 131.98°)
OKLaboklab(51.1% -0.1045 0.0943)
OKLCHoklch(51.1% 0.141 137.9)
XYZxyz(8.5449, 14.3522, 3.3567)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38781B #5B1B78
analogous
#67781B #38781B #1B782D
triadic
#38781B #1B3878 #781B38
tetradic
#38781B #1B6778 #5B1B78 #782D1B
square
#38781B #1B6778 #5B1B78 #782D1B
split-complementary
#38781B #2D1B78 #781B67
monochromatic
#0C1906 #214610 #38781B #4FAA26 #6AD33B

Accessibility & contrast

On white

5.43
#38781B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#38781B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38781B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38781B#FFFFFF#000000##FFFFFF
##38781B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#746825
Tritanopia (blue-blind)
#337466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #38781b;
/* rgb */ color: rgb(56, 120, 27);
/* oklch */ color: oklch(51.1% 0.141 137.9);
Tailwind
colors: {
  custom: {
    50: '#769f5f',
    500: '#38781b',
    950: '#000000',
  },
}
SCSS
$custom: #38781b;
$custom-light: #769f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38781b",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 101.29,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51101,
    "c": 0.1408,
    "h": 137.9
  },
  "luminance": 0.14353
}

Semantic roles & 50–950 ramp

primary
#38781B
secondary
#8B43AC
accent
#41E6B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38781B

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

Preview Lab → · Contrast checker → · Palette generator →

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