#38982F#38982F

#38982F is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.1% C 0.168 H 141.9°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#38982F
RGBrgb(56, 152, 47)
HSLhsl(115, 53%, 39%)
HSVhsv(115, 69%, 60%)
CMYKcmyk(63.2%, 0%, 69.1%, 40.4%)
CIE-LABlab(55.58, -48.51, 45.18)
CIE-LCHlch(55.58, 66.29, 137.04°)
OKLaboklab(60.1% -0.1322 0.1037)
OKLCHoklch(60.1% 0.168 141.9)
XYZxyz(13.3715, 23.5012, 6.5203)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38982F #8F2F98
analogous
#6D982F #38982F #2F985B
triadic
#38982F #2F3898 #982F38
tetradic
#38982F #2F6D98 #8F2F98 #985B2F
square
#38982F #2F6D98 #8F2F98 #985B2F
split-complementary
#38982F #5B2F98 #982F6D
monochromatic
#163B12 #276921 #38982F #4BC440 #77D26F

Accessibility & contrast

On white

3.68
#38982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#38982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38982F
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38982F#FFFFFF#000000##000000
##38982F1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A20
Deuteranopia (green-blind)
#908239
Tritanopia (blue-blind)
#279383
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #38982f;
/* rgb */ color: rgb(56, 152, 47);
/* oklch */ color: oklch(60.1% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#7bb76d',
    500: '#38982f',
    950: '#000000',
  },
}
SCSS
$custom: #38982f;
$custom-light: #7bb76d;
$custom-dark: #000000;
JSON
{
  "hex": "#38982f",
  "rgb": {
    "r": 56,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 114.857,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.16805,
    "h": 141.9
  },
  "luminance": 0.23502
}

Semantic roles & 50–950 ramp

primary
#38982F
secondary
#B369BA
accent
#4CDCD0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38982F

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

Preview Lab → · Contrast checker → · Palette generator →

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