#38741B#38741B

#38741B is a mid, vivid green. Relative luminance 0.134; OKLCH L 50.0% C 0.136 H 137.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#38741B
RGBrgb(56, 116, 27)
HSLhsl(100, 62%, 28%)
HSVhsv(100, 77%, 45%)
CMYKcmyk(51.7%, 0%, 76.7%, 54.5%)
CIE-LABlab(43.37, -36.13, 40.65)
CIE-LCHlch(43.37, 54.39, 131.63°)
OKLaboklab(49.98% -0.1 0.0915)
OKLCHoklch(49.98% 0.136 137.6)
XYZxyz(8.0738, 13.4101, 3.1997)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38741B #571B74
analogous
#64741B #38741B #1B742A
triadic
#38741B #1B3874 #741B38
tetradic
#38741B #1B6474 #571B74 #742A1B
square
#38741B #1B6474 #571B74 #742A1B
split-complementary
#38741B #2A1B74 #741B64
monochromatic
#0C1906 #20420F #38741B #50A627 #6AD139

Accessibility & contrast

On white

5.70
#38741B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#38741B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38741B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38741B#FFFFFF#000000##FFFFFF
##38741B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A0A
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #38741b;
/* rgb */ color: rgb(56, 116, 27);
/* oklch */ color: oklch(50.0% 0.136 137.6);
Tailwind
colors: {
  custom: {
    50: '#759c5e',
    500: '#38741b',
    950: '#000000',
  },
}
SCSS
$custom: #38741b;
$custom-light: #759c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38741b",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 27
  },
  "hsl": {
    "h": 100.449,
    "s": 62.238,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.13558,
    "h": 137.6
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#38741B
secondary
#8742A9
accent
#42E5B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38741B

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

Preview Lab → · Contrast checker → · Palette generator →

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