#38802B#38802B

#38802B is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.140 H 140.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#38802B
RGBrgb(56, 128, 43)
HSLhsl(111, 50%, 34%)
HSVhsv(111, 66%, 50%)
CMYKcmyk(56.3%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.56, -39.63, 38.23)
CIE-LCHlch(47.56, 55.07, 136.03°)
OKLaboklab(53.47% -0.1084 0.0886)
OKLCHoklch(53.47% 0.14 140.8)
XYZxyz(9.7857, 16.4527, 4.9451)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38802B #732B80
analogous
#62802B #38802B #2B8048
triadic
#38802B #2B3880 #802B38
tetradic
#38802B #2B6280 #732B80 #80482B
square
#38802B #2B6280 #732B80 #80482B
split-complementary
#38802B #482B80 #802B62
monochromatic
#10240C #24521C #38802B #4CAE3A #6DC95D

Accessibility & contrast

On white

4.89
#38802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#38802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38802B
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38802B#FFFFFF#000000##FFFFFF
##38802B1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837521
Deuteranopia (green-blind)
#7A6E32
Tritanopia (blue-blind)
#2F7C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38802b;
/* rgb */ color: rgb(56, 128, 43);
/* oklch */ color: oklch(53.5% 0.140 140.8);
Tailwind
colors: {
  custom: {
    50: '#76a568',
    500: '#38802b',
    950: '#000000',
  },
}
SCSS
$custom: #38802b;
$custom-light: #76a568;
$custom-dark: #000000;
JSON
{
  "hex": "#38802b",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 110.824,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53472,
    "c": 0.14002,
    "h": 140.8
  },
  "luminance": 0.16454
}

Semantic roles & 50–950 ramp

primary
#38802B
secondary
#A158AE
accent
#4FD9C4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #38802B

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

Preview Lab → · Contrast checker → · Palette generator →

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