#38811A#38811A

#38811A is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.153 H 138.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#38811A
RGBrgb(56, 129, 26)
HSLhsl(103, 66%, 30%)
HSVhsv(103, 80%, 51%)
CMYKcmyk(56.6%, 0%, 79.8%, 49.4%)
CIE-LABlab(47.77, -41.48, 45.32)
CIE-LCHlch(47.77, 61.44, 132.47°)
OKLaboklab(53.6% -0.1145 0.1011)
OKLCHoklch(53.6% 0.153 138.6)
XYZxyz(9.6672, 16.6151, 3.6747)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38811A #631A81
analogous
#6C811A #38811A #1A812F
triadic
#38811A #1A3881 #811A38
tetradic
#38811A #1A6C81 #631A81 #812F1A
square
#38811A #1A6C81 #631A81 #812F1A
split-complementary
#38811A #2F1A81 #811A6C
monochromatic
#0C1B05 #224E10 #38811A #4EB424 #6AD83D

Accessibility & contrast

On white

4.86
#38811A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#38811A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38811A
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38811A#FFFFFF#000000##FFFFFF
##38811A1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#317C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38811a;
/* rgb */ color: rgb(56, 129, 26);
/* oklch */ color: oklch(53.6% 0.153 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a65f',
    500: '#38811a',
    950: '#000000',
  },
}
SCSS
$custom: #38811a;
$custom-light: #77a65f;
$custom-dark: #000000;
JSON
{
  "hex": "#38811a",
  "rgb": {
    "r": 56,
    "g": 129,
    "b": 26
  },
  "hsl": {
    "h": 102.524,
    "s": 66.452,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.15276,
    "h": 138.6
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#38811A
secondary
#9342B5
accent
#3EE9B8
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38811A

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

Preview Lab → · Contrast checker → · Palette generator →

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