#38751E#38751E

#38751E is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.135 H 138.0°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#38751E
RGBrgb(56, 117, 30)
HSLhsl(102, 59%, 29%)
HSVhsv(102, 74%, 46%)
CMYKcmyk(52.1%, 0%, 74.4%, 54.1%)
CIE-LABlab(43.74, -36.32, 39.83)
CIE-LCHlch(43.74, 53.90, 132.36°)
OKLaboklab(50.29% -0.1003 0.0902)
OKLCHoklch(50.29% 0.135 138)
XYZxyz(8.2262, 13.6565, 3.4305)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38751E #5B1E75
analogous
#64751E #38751E #1E7530
triadic
#38751E #1E3875 #751E38
tetradic
#38751E #1E6475 #5B1E75 #75301E
square
#38751E #1E6475 #5B1E75 #75301E
split-complementary
#38751E #301E75 #751E64
monochromatic
#0C1806 #214412 #38751E #4FA62A #6ACE40

Accessibility & contrast

On white

5.63
#38751E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#38751E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38751E
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38751E#FFFFFF#000000##FFFFFF
##38751E1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B0F
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#337164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38751e;
/* rgb */ color: rgb(56, 117, 30);
/* oklch */ color: oklch(50.3% 0.135 138.0);
Tailwind
colors: {
  custom: {
    50: '#759d60',
    500: '#38751e',
    950: '#000000',
  },
}
SCSS
$custom: #38751e;
$custom-light: #759d60;
$custom-dark: #000000;
JSON
{
  "hex": "#38751e",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 30
  },
  "hsl": {
    "h": 102.069,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50287,
    "c": 0.13494,
    "h": 138
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#38751E
secondary
#8B46A9
accent
#45E2B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38751E

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

Preview Lab → · Contrast checker → · Palette generator →

#38751E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva