#38781A#38781A

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

Color values

HEX#38781A
RGBrgb(56, 120, 26)
HSLhsl(101, 64%, 29%)
HSVhsv(101, 78%, 47%)
CMYKcmyk(53.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.73, -37.87, 42.37)
CIE-LCHlch(44.73, 56.82, 131.79°)
OKLaboklab(51.09% -0.1048 0.0949)
OKLCHoklch(51.09% 0.141 137.8)
XYZxyz(8.5335, 14.3476, 3.2968)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38781A #5A1A78
analogous
#67781A #38781A #1A782B
triadic
#38781A #1A3878 #781A38
tetradic
#38781A #1A6778 #5A1A78 #782B1A
square
#38781A #1A6778 #5A1A78 #782B1A
split-complementary
#38781A #2B1A78 #781A67
monochromatic
#0C1905 #21460F #38781A #4FAA25 #6AD438

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38781A#FFFFFF#000000##FFFFFF
##38781A1.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)
#7C6D06
Deuteranopia (green-blind)
#746824
Tritanopia (blue-blind)
#337466
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #38781a;
/* rgb */ color: rgb(56, 120, 26);
/* oklch */ color: oklch(51.1% 0.141 137.8);
Tailwind
colors: {
  custom: {
    50: '#769f5e',
    500: '#38781a',
    950: '#000000',
  },
}
SCSS
$custom: #38781a;
$custom-light: #769f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38781a",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 100.851,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.1414,
    "h": 137.8
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#38781A
secondary
#8A41AC
accent
#40E7B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38781A

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

Preview Lab → · Contrast checker → · Palette generator →

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