#38812A#38812A

#38812A is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.7% C 0.142 H 140.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#38812A
RGBrgb(56, 129, 42)
HSLhsl(110, 51%, 34%)
HSVhsv(110, 67%, 51%)
CMYKcmyk(56.6%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.89, -40.14, 39.05)
CIE-LCHlch(47.89, 56.00, 135.79°)
OKLaboklab(53.74% -0.1099 0.0902)
OKLCHoklch(53.74% 0.142 140.6)
XYZxyz(9.8986, 16.7076, 4.8933)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38812A #732A81
analogous
#63812A #38812A #2A8147
triadic
#38812A #2A3881 #812A38
tetradic
#38812A #2A6381 #732A81 #81472A
square
#38812A #2A6381 #732A81 #81472A
split-complementary
#38812A #472A81 #812A63
monochromatic
#10250C #24531B #38812A #4CAF39 #6DCA5C

Accessibility & contrast

On white

4.84
#38812A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#38812A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38812A
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38812A#FFFFFF#000000##FFFFFF
##38812A1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751F
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#2F7D6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #38812a;
/* rgb */ color: rgb(56, 129, 42);
/* oklch */ color: oklch(53.7% 0.142 140.6);
Tailwind
colors: {
  custom: {
    50: '#76a668',
    500: '#38812a',
    950: '#000000',
  },
}
SCSS
$custom: #38812a;
$custom-light: #76a668;
$custom-dark: #000000;
JSON
{
  "hex": "#38812a",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 110.345,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53738,
    "c": 0.14216,
    "h": 140.6
  },
  "luminance": 0.16708
}

Semantic roles & 50–950 ramp

primary
#38812A
secondary
#A157AF
accent
#4DDAC4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #38812A

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

Preview Lab → · Contrast checker → · Palette generator →

#38812A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva