#38872A#38872A

#38872A is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.4% C 0.150 H 140.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#38872A
RGBrgb(56, 135, 42)
HSLhsl(111, 53%, 35%)
HSVhsv(111, 69%, 53%)
CMYKcmyk(58.5%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.90, -42.53, 41.22)
CIE-LCHlch(49.90, 59.23, 135.89°)
OKLaboklab(55.4% -0.1164 0.0948)
OKLCHoklch(55.4% 0.15 140.8)
XYZxyz(10.7123, 18.3349, 5.1645)
Luminance0.1834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38872A #792A87
analogous
#66872A #38872A #2A874B
triadic
#38872A #2A3887 #872A38
tetradic
#38872A #2A6687 #792A87 #874B2A
square
#38872A #2A6687 #792A87 #874B2A
split-complementary
#38872A #4B2A87 #872A66
monochromatic
#112A0D #25581B #38872A #4BB639 #6FCD5E

Accessibility & contrast

On white

4.50
#38872A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#38872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38872A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38872A#FFFFFF#000000##000000
##38872A1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B1D
Deuteranopia (green-blind)
#817432
Tritanopia (blue-blind)
#2E8374
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #38872a;
/* rgb */ color: rgb(56, 135, 42);
/* oklch */ color: oklch(55.4% 0.150 140.8);
Tailwind
colors: {
  custom: {
    50: '#78ab68',
    500: '#38872a',
    950: '#000000',
  },
}
SCSS
$custom: #38872a;
$custom-light: #78ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#38872a",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 110.968,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55395,
    "c": 0.15007,
    "h": 140.8
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#38872A
secondary
#A55AB3
accent
#4CDCC6
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #38872A

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

Preview Lab → · Contrast checker → · Palette generator →

#38872A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva