#38813B#38813B

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

Color values

HEX#38813B
RGBrgb(56, 129, 59)
HSLhsl(122, 39%, 36%)
HSVhsv(122, 57%, 51%)
CMYKcmyk(56.6%, 0%, 54.3%, 49.4%)
CIE-LABlab(48.08, -38.05, 30.94)
CIE-LCHlch(48.08, 49.04, 140.89°)
OKLaboklab(53.95% -0.1033 0.0743)
OKLCHoklch(53.95% 0.127 144.3)
XYZxyz(10.2700, 16.8562, 6.8492)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38813B #81387E
analogous
#5A8138 #38813B #388160
triadic
#38813B #3B3881 #813B38
tetradic
#38813B #385A81 #81387E #816038
square
#38813B #385A81 #81387E #816038
split-complementary
#38813B #603881 #81385A
monochromatic
#132C14 #255627 #38813B #4BAC4F #72C275

Accessibility & contrast

On white

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

On black

4.37
#38813B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##38813B#FFFFFF#000000##FFFFFF
##38813B1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837635
Deuteranopia (green-blind)
#7A7040
Tritanopia (blue-blind)
#2C7E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38813b;
/* rgb */ color: rgb(56, 129, 59);
/* oklch */ color: oklch(54.0% 0.127 144.3);
Tailwind
colors: {
  custom: {
    50: '#76a673',
    500: '#38813b',
    950: '#000000',
  },
}
SCSS
$custom: #38813b;
$custom-light: #76a673;
$custom-dark: #000000;
JSON
{
  "hex": "#38813b",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 59
  },
  "hsl": {
    "h": 122.466,
    "s": 39.459,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53954,
    "c": 0.12723,
    "h": 144.3
  },
  "luminance": 0.16857
}

Semantic roles & 50–950 ramp

primary
#38813B
secondary
#AB6AA8
accent
#58CACF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #38813B

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

Preview Lab → · Contrast checker → · Palette generator →

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