#38751B#38751B

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

Color values

HEX#38751B
RGBrgb(56, 117, 27)
HSLhsl(101, 63%, 28%)
HSVhsv(101, 77%, 46%)
CMYKcmyk(52.1%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.71, -36.55, 40.99)
CIE-LCHlch(43.71, 54.92, 131.72°)
OKLaboklab(50.26% -0.1012 0.0922)
OKLCHoklch(50.26% 0.137 137.7)
XYZxyz(8.1897, 13.6419, 3.2383)
Luminance0.1364 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38751B #581B75
analogous
#65751B #38751B #1B752B
triadic
#38751B #1B3875 #751B38
tetradic
#38751B #1B6575 #581B75 #752B1B
square
#38751B #1B6575 #581B75 #752B1B
split-complementary
#38751B #2B1B75 #751B65
monochromatic
#0C1906 #204310 #38751B #50A726 #6AD139

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38751B#FFFFFF#000000##FFFFFF
##38751B1.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)
#796A09
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#347164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38751b;
/* rgb */ color: rgb(56, 117, 27);
/* oklch */ color: oklch(50.3% 0.137 137.7);
Tailwind
colors: {
  custom: {
    50: '#759d5e',
    500: '#38751b',
    950: '#000000',
  },
}
SCSS
$custom: #38751b;
$custom-light: #759d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38751b",
  "rgb": {
    "r": 56,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 100.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50262,
    "c": 0.13689,
    "h": 137.7
  },
  "luminance": 0.13642
}

Semantic roles & 50–950 ramp

primary
#38751B
secondary
#8842A9
accent
#42E6B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38751B

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

Preview Lab → · Contrast checker → · Palette generator →

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