#38781C#38781C

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

Color values

HEX#38781C
RGBrgb(56, 120, 28)
HSLhsl(102, 62%, 29%)
HSVhsv(102, 77%, 47%)
CMYKcmyk(53.3%, 0%, 76.7%, 52.9%)
CIE-LABlab(44.74, -37.72, 41.63)
CIE-LCHlch(44.74, 56.18, 132.18°)
OKLaboklab(51.11% -0.1043 0.0937)
OKLCHoklch(51.11% 0.14 138.1)
XYZxyz(8.5567, 14.3569, 3.4186)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38781C #5C1C78
analogous
#66781C #38781C #1C782E
triadic
#38781C #1C3878 #781C38
tetradic
#38781C #1C6678 #5C1C78 #782E1C
square
#38781C #1C6678 #5C1C78 #782E1C
split-complementary
#38781C #2E1C78 #781C66
monochromatic
#0C1906 #214610 #38781C #4FAA28 #6AD23D

Accessibility & contrast

On white

5.42
#38781C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38781C
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38781C#FFFFFF#000000##FFFFFF
##38781C1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38781c;
/* rgb */ color: rgb(56, 120, 28);
/* oklch */ color: oklch(51.1% 0.140 138.1);
Tailwind
colors: {
  custom: {
    50: '#769f5f',
    500: '#38781c',
    950: '#000000',
  },
}
SCSS
$custom: #38781c;
$custom-light: #769f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38781c",
  "rgb": {
    "r": 56,
    "g": 120,
    "b": 28
  },
  "hsl": {
    "h": 101.739,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.14018,
    "h": 138.1
  },
  "luminance": 0.14358
}

Semantic roles & 50–950 ramp

primary
#38781C
secondary
#8C44AC
accent
#43E5B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38781C

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

Preview Lab → · Contrast checker → · Palette generator →

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