#38751D#38751D

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

Color values

HEX#38751D
RGBrgb(56, 117, 29)
HSLhsl(102, 60%, 29%)
HSVhsv(102, 75%, 46%)
CMYKcmyk(52.1%, 0%, 75.2%, 54.1%)
CIE-LABlab(43.73, -36.40, 40.22)
CIE-LCHlch(43.73, 54.24, 132.14°)
OKLaboklab(50.28% -0.1006 0.0909)
OKLCHoklch(50.28% 0.136 137.9)
XYZxyz(8.2137, 13.6514, 3.3643)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38751D #5A1D75
analogous
#64751D #38751D #1D752E
triadic
#38751D #1D3875 #751D38
tetradic
#38751D #1D6475 #5A1D75 #752E1D
square
#38751D #1D6475 #5A1D75 #752E1D
split-complementary
#38751D #2E1D75 #751D64
monochromatic
#0C1906 #214411 #38751D #4FA629 #6ACF3D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38751D#FFFFFF#000000##FFFFFF
##38751D1.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)
#796B0E
Deuteranopia (green-blind)
#716526
Tritanopia (blue-blind)
#347164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38751d;
/* rgb */ color: rgb(56, 117, 29);
/* oklch */ color: oklch(50.3% 0.136 137.9);
Tailwind
colors: {
  custom: {
    50: '#759d5f',
    500: '#38751d',
    950: '#000000',
  },
}
SCSS
$custom: #38751d;
$custom-light: #759d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38751d",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 29
  },
  "hsl": {
    "h": 101.591,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50278,
    "c": 0.13561,
    "h": 137.9
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

primary
#38751D
secondary
#8A45A9
accent
#44E3B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38751D

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

Preview Lab → · Contrast checker → · Palette generator →

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