#38791C#38791C

#38791C is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.141 H 138.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#38791C
RGBrgb(56, 121, 28)
HSLhsl(102, 62%, 29%)
HSVhsv(102, 77%, 47%)
CMYKcmyk(53.7%, 0%, 76.9%, 52.5%)
CIE-LABlab(45.08, -38.13, 41.97)
CIE-LCHlch(45.08, 56.70, 132.26°)
OKLaboklab(51.39% -0.1054 0.0944)
OKLCHoklch(51.39% 0.141 138.1)
XYZxyz(8.6776, 14.5987, 3.4589)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38791C #5D1C79
analogous
#67791C #38791C #1C792E
triadic
#38791C #1C3879 #791C38
tetradic
#38791C #1C6779 #5D1C79 #792E1C
square
#38791C #1C6779 #5D1C79 #792E1C
split-complementary
#38791C #2E1C79 #791C67
monochromatic
#0C1906 #214710 #38791C #4FAB28 #6AD23D

Accessibility & contrast

On white

5.36
#38791C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#38791C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38791C
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38791C#FFFFFF#000000##FFFFFF
##38791C1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38791c;
/* rgb */ color: rgb(56, 121, 28);
/* oklch */ color: oklch(51.4% 0.141 138.1);
Tailwind
colors: {
  custom: {
    50: '#76a05f',
    500: '#38791c',
    950: '#000000',
  },
}
SCSS
$custom: #38791c;
$custom-light: #76a05f;
$custom-dark: #000000;
JSON
{
  "hex": "#38791c",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 101.935,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.14148,
    "h": 138.1
  },
  "luminance": 0.14599
}

Semantic roles & 50–950 ramp

primary
#38791C
secondary
#8D44AD
accent
#42E5B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #38791C

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

Preview Lab → · Contrast checker → · Palette generator →

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