#38891B#38891B

#38891B is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.8% C 0.162 H 139.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#38891B
RGBrgb(56, 137, 27)
HSLhsl(104, 67%, 32%)
HSVhsv(104, 80%, 54%)
CMYKcmyk(59.1%, 0%, 80.3%, 46.3%)
CIE-LABlab(50.46, -44.50, 47.56)
CIE-LCHlch(50.46, 65.14, 133.10°)
OKLaboklab(55.83% -0.1226 0.1059)
OKLCHoklch(55.83% 0.162 139.2)
XYZxyz(10.7739, 18.8103, 4.0997)
Luminance0.1881 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38891B #6C1B89
analogous
#6F891B #38891B #1B8935
triadic
#38891B #1B3889 #891B38
tetradic
#38891B #1B6F89 #6C1B89 #89351B
square
#38891B #1B6F89 #6C1B89 #89351B
split-complementary
#38891B #351B89 #891B6F
monochromatic
#0E2307 #235611 #38891B #4DBC25 #6CDA44

Accessibility & contrast

On white

4.41
#38891B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#38891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38891B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38891B#FFFFFF#000000##000000
##38891B1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#837628
Tritanopia (blue-blind)
#2F8475
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #38891b;
/* rgb */ color: rgb(56, 137, 27);
/* oklch */ color: oklch(55.8% 0.162 139.2);
Tailwind
colors: {
  custom: {
    50: '#79ac61',
    500: '#38891b',
    950: '#000000',
  },
}
SCSS
$custom: #38891b;
$custom-light: #79ac61;
$custom-dark: #000000;
JSON
{
  "hex": "#38891b",
  "rgb": {
    "r": 56,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 104.182,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.16202,
    "h": 139.2
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#38891B
secondary
#9C44BC
accent
#3EEABD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38891B

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

Preview Lab → · Contrast checker → · Palette generator →

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