#38911F#38911F

#38911F is a mid, vivid green. Relative luminance 0.212; OKLCH L 58.1% C 0.170 H 139.9°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#38911F
RGBrgb(56, 145, 31)
HSLhsl(107, 65%, 35%)
HSVhsv(107, 79%, 57%)
CMYKcmyk(61.4%, 0%, 78.6%, 43.1%)
CIE-LABlab(53.16, -47.23, 48.81)
CIE-LCHlch(53.16, 67.92, 134.06°)
OKLaboklab(58.06% -0.1297 0.1091)
OKLCHoklch(58.06% 0.17 139.9)
XYZxyz(12.0031, 21.1894, 4.7535)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38911F #781F91
analogous
#71911F #38911F #1F913F
triadic
#38911F #1F3891 #911F38
tetradic
#38911F #1F7191 #781F91 #913F1F
square
#38911F #1F7191 #781F91 #913F1F
split-complementary
#38911F #3F1F91 #911F71
monochromatic
#112C09 #255F14 #38911F #4BC32A #6FDA51

Accessibility & contrast

On white

4.01
#38911F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#38911F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38911F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38911F#FFFFFF#000000##000000
##38911F1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#958302
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#2C8C7C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #38911f;
/* rgb */ color: rgb(56, 145, 31);
/* oklch */ color: oklch(58.1% 0.170 139.9);
Tailwind
colors: {
  custom: {
    50: '#7ab264',
    500: '#38911f',
    950: '#000000',
  },
}
SCSS
$custom: #38911f;
$custom-light: #7ab264;
$custom-dark: #000000;
JSON
{
  "hex": "#38911f",
  "rgb": {
    "r": 56,
    "g": 145,
    "b": 31
  },
  "hsl": {
    "h": 106.842,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.16951,
    "h": 139.9
  },
  "luminance": 0.2119
}

Semantic roles & 50–950 ramp

primary
#38911F
secondary
#A54FBD
accent
#40E8C3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38911F

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

Preview Lab → · Contrast checker → · Palette generator →

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