#38841F#38841F

#38841F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.154 H 139.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#38841F
RGBrgb(56, 132, 31)
HSLhsl(105, 62%, 32%)
HSVhsv(105, 77%, 52%)
CMYKcmyk(57.6%, 0%, 76.5%, 48.2%)
CIE-LABlab(48.81, -42.31, 44.55)
CIE-LCHlch(48.81, 61.44, 133.52°)
OKLaboklab(54.47% -0.1164 0.1002)
OKLCHoklch(54.47% 0.154 139.3)
XYZxyz(10.1291, 17.4414, 4.1288)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38841F #6B1F84
analogous
#6A841F #38841F #1F8439
triadic
#38841F #1F3884 #841F38
tetradic
#38841F #1F6A84 #6B1F84 #84391F
square
#38841F #1F6A84 #6B1F84 #84391F
split-complementary
#38841F #391F84 #841F6A
monochromatic
#0E2108 #235213 #38841F #4DB62B #6CD449

Accessibility & contrast

On white

4.68
#38841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#38841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38841F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38841F#FFFFFF#000000##FFFFFF
##38841F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7E722A
Tritanopia (blue-blind)
#307F71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #38841f;
/* rgb */ color: rgb(56, 132, 31);
/* oklch */ color: oklch(54.5% 0.154 139.3);
Tailwind
colors: {
  custom: {
    50: '#78a862',
    500: '#38841f',
    950: '#000000',
  },
}
SCSS
$custom: #38841f;
$custom-light: #78a862;
$custom-dark: #000000;
JSON
{
  "hex": "#38841f",
  "rgb": {
    "r": 56,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 105.149,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.15364,
    "h": 139.3
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#38841F
secondary
#9B48B7
accent
#43E5BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #38841F

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

Preview Lab → · Contrast checker → · Palette generator →

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