#38751F#38751F

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

Color values

HEX#38751F
RGBrgb(56, 117, 31)
HSLhsl(103, 58%, 29%)
HSVhsv(103, 74%, 46%)
CMYKcmyk(52.1%, 0%, 73.5%, 54.1%)
CIE-LABlab(43.74, -36.23, 39.42)
CIE-LCHlch(43.74, 53.54, 132.59°)
OKLaboklab(50.3% -0.1 0.0895)
OKLCHoklch(50.3% 0.134 138.2)
XYZxyz(8.2392, 13.6617, 3.4989)
Luminance0.1366 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38751F #5C1F75
analogous
#63751F #38751F #1F7531
triadic
#38751F #1F3875 #751F38
tetradic
#38751F #1F6375 #5C1F75 #75311F
square
#38751F #1F6375 #5C1F75 #75311F
split-complementary
#38751F #311F75 #751F63
monochromatic
#0C1806 #214512 #38751F #4FA52C #6ACD42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38751F#FFFFFF#000000##FFFFFF
##38751F1.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)
#796B11
Deuteranopia (green-blind)
#716527
Tritanopia (blue-blind)
#337164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38751f;
/* rgb */ color: rgb(56, 117, 31);
/* oklch */ color: oklch(50.3% 0.134 138.2);
Tailwind
colors: {
  custom: {
    50: '#759d60',
    500: '#38751f',
    950: '#000000',
  },
}
SCSS
$custom: #38751f;
$custom-light: #759d60;
$custom-dark: #000000;
JSON
{
  "hex": "#38751f",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 31
  },
  "hsl": {
    "h": 102.558,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.13425,
    "h": 138.2
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#38751F
secondary
#8C47A9
accent
#46E1B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38751F

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

Preview Lab → · Contrast checker → · Palette generator →

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