#38821B#38821B

#38821B is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.153 H 138.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#38821B
RGBrgb(56, 130, 27)
HSLhsl(103, 66%, 31%)
HSVhsv(103, 79%, 51%)
CMYKcmyk(56.9%, 0%, 79.2%, 49%)
CIE-LABlab(48.11, -41.81, 45.30)
CIE-LCHlch(48.11, 61.65, 132.70°)
OKLaboklab(53.89% -0.1153 0.1012)
OKLCHoklch(53.89% 0.153 138.7)
XYZxyz(9.8110, 16.8843, 3.7787)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38821B #651B82
analogous
#6B821B #38821B #1B8231
triadic
#38821B #1B3882 #821B38
tetradic
#38821B #1B6B82 #651B82 #82311B
square
#38821B #1B6B82 #651B82 #82311B
split-complementary
#38821B #311B82 #821B6B
monochromatic
#0C1D06 #224F10 #38821B #4EB526 #6BD740

Accessibility & contrast

On white

4.80
#38821B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#38821B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38821B
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38821B#FFFFFF#000000##FFFFFF
##38821B1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867602
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#317D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38821b;
/* rgb */ color: rgb(56, 130, 27);
/* oklch */ color: oklch(53.9% 0.153 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a760',
    500: '#38821b',
    950: '#000000',
  },
}
SCSS
$custom: #38821b;
$custom-light: #77a760;
$custom-dark: #000000;
JSON
{
  "hex": "#38821b",
  "rgb": {
    "r": 56,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 103.107,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.15345,
    "h": 138.7
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

primary
#38821B
secondary
#9543B6
accent
#3FE9B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38821B

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

Preview Lab → · Contrast checker → · Palette generator →

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