#38791A#38791A

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

Color values

HEX#38791A
RGBrgb(56, 121, 26)
HSLhsl(101, 65%, 29%)
HSVhsv(101, 79%, 47%)
CMYKcmyk(53.7%, 0%, 78.5%, 52.5%)
CIE-LABlab(45.07, -38.28, 42.70)
CIE-LCHlch(45.07, 57.34, 131.87°)
OKLaboklab(51.37% -0.1059 0.0956)
OKLCHoklch(51.37% 0.143 137.9)
XYZxyz(8.6544, 14.5894, 3.3371)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38791A #5B1A79
analogous
#68791A #38791A #1A792C
triadic
#38791A #1A3879 #791A38
tetradic
#38791A #1A6879 #5B1A79 #792C1A
square
#38791A #1A6879 #5B1A79 #792C1A
split-complementary
#38791A #2C1A79 #791A68
monochromatic
#0C1905 #21470F #38791A #4FAB25 #6AD439

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38791A#FFFFFF#000000##FFFFFF
##38791A1.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)
#7D6E05
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#337567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #38791a;
/* rgb */ color: rgb(56, 121, 26);
/* oklch */ color: oklch(51.4% 0.143 137.9);
Tailwind
colors: {
  custom: {
    50: '#76a05e',
    500: '#38791a',
    950: '#000000',
  },
}
SCSS
$custom: #38791a;
$custom-light: #76a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#38791a",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 101.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51373,
    "c": 0.14268,
    "h": 137.9
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#38791A
secondary
#8B41AD
accent
#40E8B3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #38791A

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

Preview Lab → · Contrast checker → · Palette generator →

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