#38801C#38801C

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

Color values

HEX#38801C
RGBrgb(56, 128, 28)
HSLhsl(103, 64%, 31%)
HSVhsv(103, 78%, 50%)
CMYKcmyk(56.3%, 0%, 78.1%, 49.8%)
CIE-LABlab(47.45, -40.95, 44.30)
CIE-LCHlch(47.45, 60.33, 132.75°)
OKLaboklab(53.34% -0.113 0.0993)
OKLCHoklch(53.34% 0.15 138.7)
XYZxyz(9.5593, 16.3622, 3.7529)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38801C #641C80
analogous
#6A801C #38801C #1C8032
triadic
#38801C #1C3880 #801C38
tetradic
#38801C #1C6A80 #641C80 #80321C
square
#38801C #1C6A80 #641C80 #80321C
split-complementary
#38801C #321C80 #801C6A
monochromatic
#0C1C06 #224E11 #38801C #4EB227 #6BD541

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38801C#FFFFFF#000000##FFFFFF
##38801C1.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)
#847406
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38801c;
/* rgb */ color: rgb(56, 128, 28);
/* oklch */ color: oklch(53.3% 0.150 138.7);
Tailwind
colors: {
  custom: {
    50: '#77a560',
    500: '#38801c',
    950: '#000000',
  },
}
SCSS
$custom: #38801c;
$custom-light: #77a560;
$custom-dark: #000000;
JSON
{
  "hex": "#38801c",
  "rgb": {
    "r": 56,
    "g": 128,
    "b": 28
  },
  "hsl": {
    "h": 103.2,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53338,
    "c": 0.1504,
    "h": 138.7
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#38801C
secondary
#9444B3
accent
#41E7B9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #38801C

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

Preview Lab → · Contrast checker → · Palette generator →

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