#38741F#38741F

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

Color values

HEX#38741F
RGBrgb(56, 116, 31)
HSLhsl(102, 58%, 29%)
HSVhsv(102, 73%, 45%)
CMYKcmyk(51.7%, 0%, 73.3%, 54.5%)
CIE-LABlab(43.40, -35.81, 39.07)
CIE-LCHlch(43.40, 53.00, 132.51°)
OKLaboklab(50.02% -0.0989 0.0888)
OKLCHoklch(50.02% 0.133 138.1)
XYZxyz(8.1233, 13.4299, 3.4602)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38741F #5B1F74
analogous
#63741F #38741F #1F7431
triadic
#38741F #1F3874 #741F38
tetradic
#38741F #1F6374 #5B1F74 #74311F
square
#38741F #1F6374 #5B1F74 #74311F
split-complementary
#38741F #311F74 #741F63
monochromatic
#0C1806 #214412 #38741F #4FA42C #6ACC41

Accessibility & contrast

On white

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

On black

3.69
#38741F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38741F#FFFFFF#000000##FFFFFF
##38741F1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A12
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#347063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #38741f;
/* rgb */ color: rgb(56, 116, 31);
/* oklch */ color: oklch(50.0% 0.133 138.1);
Tailwind
colors: {
  custom: {
    50: '#759c60',
    500: '#38741f',
    950: '#000000',
  },
}
SCSS
$custom: #38741f;
$custom-light: #759c60;
$custom-dark: #000000;
JSON
{
  "hex": "#38741f",
  "rgb": {
    "r": 56,
    "g": 116,
    "b": 31
  },
  "hsl": {
    "h": 102.353,
    "s": 57.823,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.1329,
    "h": 138.1
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#38741F
secondary
#8B47A8
accent
#47E1B4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38741F

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

Preview Lab → · Contrast checker → · Palette generator →

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