#38792F#38792F

#38792F is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.6% C 0.127 H 141.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#38792F
RGBrgb(56, 121, 47)
HSLhsl(113, 44%, 33%)
HSVhsv(113, 61%, 47%)
CMYKcmyk(53.7%, 0%, 61.2%, 52.5%)
CIE-LABlab(45.25, -36.27, 33.71)
CIE-LCHlch(45.25, 49.51, 137.09°)
OKLaboklab(51.58% -0.0991 0.0793)
OKLCHoklch(51.58% 0.127 141.3)
XYZxyz(8.9809, 14.7200, 5.0568)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38792F #702F79
analogous
#5D792F #38792F #2F794B
triadic
#38792F #2F3879 #792F38
tetradic
#38792F #2F5D79 #702F79 #794B2F
square
#38792F #2F5D79 #702F79 #794B2F
split-complementary
#38792F #4B2F79 #792F5D
monochromatic
#0F210D #244D1E #38792F #4CA540 #6DC261

Accessibility & contrast

On white

5.32
#38792F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38792F
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38792F#FFFFFF#000000##FFFFFF
##38792F1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F27
Deuteranopia (green-blind)
#736935
Tritanopia (blue-blind)
#307569
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38792f;
/* rgb */ color: rgb(56, 121, 47);
/* oklch */ color: oklch(51.6% 0.127 141.3);
Tailwind
colors: {
  custom: {
    50: '#75a06a',
    500: '#38792f',
    950: '#000000',
  },
}
SCSS
$custom: #38792f;
$custom-light: #75a06a;
$custom-dark: #000000;
JSON
{
  "hex": "#38792f",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 47
  },
  "hsl": {
    "h": 112.703,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51581,
    "c": 0.12692,
    "h": 141.3
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#38792F
secondary
#9F5BA8
accent
#54D4C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #38792F

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

Preview Lab → · Contrast checker → · Palette generator →

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