#38B41C#38B41C

#38B41C is a light, highly saturated green. Relative luminance 0.336; OKLCH L 67.5% C 0.210 H 140.8°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#38B41C
RGBrgb(56, 180, 28)
HSLhsl(109, 73%, 41%)
HSVhsv(109, 84%, 71%)
CMYKcmyk(68.9%, 0%, 84.4%, 29.4%)
CIE-LABlab(64.62, -59.50, 60.35)
CIE-LCHlch(64.62, 84.75, 134.59°)
OKLaboklab(67.55% -0.1628 0.1329)
OKLCHoklch(67.55% 0.21 140.8)
XYZxyz(18.1608, 33.5652, 6.6200)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B41C #981CB4
analogous
#84B41C #38B41C #1CB44C
triadic
#38B41C #1C38B4 #B41C38
tetradic
#38B41C #1C84B4 #981CB4 #B44C1C
square
#38B41C #1C84B4 #981CB4 #B44C1C
split-complementary
#38B41C #4C1CB4 #B41C84
monochromatic
#174A0C #287F14 #38B41C #4FDF2F #7CE764

Accessibility & contrast

On white

2.72
#38B41C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#38B41C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B41C
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B41C#FFFFFF#000000##000000
##38B41C1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9931
Tritanopia (blue-blind)
#1DAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #38b41c;
/* rgb */ color: rgb(56, 180, 28);
/* oklch */ color: oklch(67.5% 0.210 140.8);
Tailwind
colors: {
  custom: {
    50: '#81cc68',
    500: '#38b41c',
    950: '#000000',
  },
}
SCSS
$custom: #38b41c;
$custom-light: #81cc68;
$custom-dark: #000000;
JSON
{
  "hex": "#38b41c",
  "rgb": {
    "r": 56,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 108.947,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.6755,
    "c": 0.21017,
    "h": 140.8
  },
  "luminance": 0.33567
}

Semantic roles & 50–950 ramp

primary
#38B41C
secondary
#B860CC
accent
#38F0CE
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #38B41C

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

Preview Lab → · Contrast checker → · Palette generator →

#38B41C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva