#38802F#38802F

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

Color values

HEX#38802F
RGBrgb(56, 128, 47)
HSLhsl(113, 46%, 34%)
HSVhsv(113, 63%, 50%)
CMYKcmyk(56.3%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.60, -39.19, 36.40)
CIE-LCHlch(47.60, 53.49, 137.11°)
OKLaboklab(53.52% -0.107 0.0851)
OKLCHoklch(53.52% 0.137 141.5)
XYZxyz(9.8627, 16.4835, 5.3507)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38802F #772F80
analogous
#61802F #38802F #2F804F
triadic
#38802F #2F3880 #802F38
tetradic
#38802F #2F6180 #772F80 #804F2F
square
#38802F #2F6180 #772F80 #804F2F
split-complementary
#38802F #4F2F80 #802F61
monochromatic
#11260E #24531F #38802F #4CAD3F #6EC663

Accessibility & contrast

On white

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

On black

4.30
#38802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38802F#FFFFFF#000000##FFFFFF
##38802F1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#2F7C6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38802f;
/* rgb */ color: rgb(56, 128, 47);
/* oklch */ color: oklch(53.5% 0.137 141.5);
Tailwind
colors: {
  custom: {
    50: '#76a56b',
    500: '#38802f',
    950: '#000000',
  },
}
SCSS
$custom: #38802f;
$custom-light: #76a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#38802f",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 113.333,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.13673,
    "h": 141.5
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#38802F
secondary
#A45EAD
accent
#52D6C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #38802F

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

Preview Lab → · Contrast checker → · Palette generator →

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