#38721B#38721B

#38721B is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.133 H 137.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#38721B
RGBrgb(56, 114, 27)
HSLhsl(100, 62%, 28%)
HSVhsv(100, 76%, 45%)
CMYKcmyk(50.9%, 0%, 76.3%, 55.3%)
CIE-LABlab(42.69, -35.29, 39.97)
CIE-LCHlch(42.69, 53.32, 131.44°)
OKLaboklab(49.42% -0.0978 0.0901)
OKLCHoklch(49.42% 0.133 137.3)
XYZxyz(7.8458, 12.9540, 3.1236)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38721B #551B72
analogous
#63721B #38721B #1B7229
triadic
#38721B #1B3872 #721B38
tetradic
#38721B #1B6372 #551B72 #72291B
square
#38721B #1B6372 #551B72 #72291B
split-complementary
#38721B #291B72 #721B63
monochromatic
#0C1906 #20410F #38721B #50A327 #6AD038

Accessibility & contrast

On white

5.85
#38721B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#38721B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38721B
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38721B#FFFFFF#000000##FFFFFF
##38721B1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680B
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#346E61
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #38721b;
/* rgb */ color: rgb(56, 114, 27);
/* oklch */ color: oklch(49.4% 0.133 137.3);
Tailwind
colors: {
  custom: {
    50: '#759b5e',
    500: '#38721b',
    950: '#000000',
  },
}
SCSS
$custom: #38721b;
$custom-light: #759b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38721b",
  "rgb": {
    "r": 56,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 100,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.49423,
    "c": 0.13293,
    "h": 137.3
  },
  "luminance": 0.12955
}

Semantic roles & 50–950 ramp

primary
#38721B
secondary
#8542A7
accent
#43E5AF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38721B

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

Preview Lab → · Contrast checker → · Palette generator →

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