#38751A#38751A

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

Color values

HEX#38751A
RGBrgb(56, 117, 26)
HSLhsl(100, 64%, 28%)
HSVhsv(100, 78%, 46%)
CMYKcmyk(52.1%, 0%, 77.8%, 54.1%)
CIE-LABlab(43.71, -36.62, 41.36)
CIE-LCHlch(43.71, 55.25, 131.52°)
OKLaboklab(50.26% -0.1014 0.0928)
OKLCHoklch(50.26% 0.138 137.5)
XYZxyz(8.1784, 13.6373, 3.1784)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38751A #571A75
analogous
#65751A #38751A #1A752A
triadic
#38751A #1A3875 #751A38
tetradic
#38751A #1A6575 #571A75 #752A1A
square
#38751A #1A6575 #571A75 #752A1A
split-complementary
#38751A #2A1A75 #751A65
monochromatic
#0C1906 #20430F #38751A #50A725 #6AD337

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38751A#FFFFFF#000000##FFFFFF
##38751A1.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)
#796A07
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#347164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38751a;
/* rgb */ color: rgb(56, 117, 26);
/* oklch */ color: oklch(50.3% 0.138 137.5);
Tailwind
colors: {
  custom: {
    50: '#759d5e',
    500: '#38751a',
    950: '#000000',
  },
}
SCSS
$custom: #38751a;
$custom-light: #759d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38751a",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 100.22,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50255,
    "c": 0.13751,
    "h": 137.5
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#38751A
secondary
#8741AA
accent
#41E7B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38751A

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

Preview Lab → · Contrast checker → · Palette generator →

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