#38792A#38792A

#38792A is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.131 H 140.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#38792A
RGBrgb(56, 121, 42)
HSLhsl(109, 48%, 32%)
HSVhsv(109, 65%, 47%)
CMYKcmyk(53.7%, 0%, 65.3%, 52.5%)
CIE-LABlab(45.20, -36.85, 36.08)
CIE-LCHlch(45.20, 51.57, 135.60°)
OKLaboklab(51.52% -0.1009 0.0839)
OKLCHoklch(51.52% 0.131 140.3)
XYZxyz(8.8858, 14.6820, 4.5557)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38792A #6B2A79
analogous
#60792A #38792A #2A7944
triadic
#38792A #2A3879 #792A38
tetradic
#38792A #2A6079 #6B2A79 #79442A
square
#38792A #2A6079 #6B2A79 #79442A
split-complementary
#38792A #442A79 #792A60
monochromatic
#0E1E0A #234C1A #38792A #4DA63A #6CC558

Accessibility & contrast

On white

5.33
#38792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#38792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38792A
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38792A#FFFFFF#000000##FFFFFF
##38792A1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E21
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#317568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38792a;
/* rgb */ color: rgb(56, 121, 42);
/* oklch */ color: oklch(51.5% 0.131 140.3);
Tailwind
colors: {
  custom: {
    50: '#75a067',
    500: '#38792a',
    950: '#000000',
  },
}
SCSS
$custom: #38792a;
$custom-light: #75a067;
$custom-dark: #000000;
JSON
{
  "hex": "#38792a",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 109.367,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.13124,
    "h": 140.3
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#38792A
secondary
#9B54AB
accent
#50D8C0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #38792A

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

Preview Lab → · Contrast checker → · Palette generator →

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