#38801A#38801A

#38801A is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.152 H 138.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#38801A
RGBrgb(56, 128, 26)
HSLhsl(102, 66%, 30%)
HSVhsv(102, 80%, 50%)
CMYKcmyk(56.3%, 0%, 79.7%, 49.8%)
CIE-LABlab(47.43, -41.09, 44.99)
CIE-LCHlch(47.43, 60.93, 132.40°)
OKLaboklab(53.32% -0.1135 0.1004)
OKLCHoklch(53.32% 0.152 138.5)
XYZxyz(9.5362, 16.3529, 3.6310)
Luminance0.1635 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38801A #621A80
analogous
#6B801A #38801A #1A802F
triadic
#38801A #1A3880 #801A38
tetradic
#38801A #1A6B80 #621A80 #802F1A
square
#38801A #1A6B80 #621A80 #802F1A
split-complementary
#38801A #2F1A80 #801A6B
monochromatic
#0B1A05 #224D10 #38801A #4EB324 #6AD83D

Accessibility & contrast

On white

4.92
#38801A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#38801A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38801A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38801A#FFFFFF#000000##FFFFFF
##38801A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847401
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #38801a;
/* rgb */ color: rgb(56, 128, 26);
/* oklch */ color: oklch(53.3% 0.152 138.5);
Tailwind
colors: {
  custom: {
    50: '#77a55f',
    500: '#38801a',
    950: '#000000',
  },
}
SCSS
$custom: #38801a;
$custom-light: #77a55f;
$custom-dark: #000000;
JSON
{
  "hex": "#38801a",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 26
  },
  "hsl": {
    "h": 102.353,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53324,
    "c": 0.15152,
    "h": 138.5
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#38801A
secondary
#9242B4
accent
#3FE9B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38801A

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

Preview Lab → · Contrast checker → · Palette generator →

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