#38B417#38B417

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

Color values

HEX#38B417
RGBrgb(56, 180, 23)
HSLhsl(107, 77%, 40%)
HSVhsv(107, 87%, 71%)
CMYKcmyk(68.9%, 0%, 87.2%, 29.4%)
CIE-LABlab(64.60, -59.71, 61.48)
CIE-LCHlch(64.60, 85.71, 134.16°)
OKLaboklab(67.53% -0.1636 0.1346)
OKLCHoklch(67.53% 0.212 140.6)
XYZxyz(18.1059, 33.5432, 6.3307)
Luminance0.3355 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B417 #9317B4
analogous
#86B417 #38B417 #17B445
triadic
#38B417 #1738B4 #B41738
tetradic
#38B417 #1786B4 #9317B4 #B44517
square
#38B417 #1786B4 #9317B4 #B44517
split-complementary
#38B417 #4517B4 #B41786
monochromatic
#164709 #277E10 #38B417 #4DE325 #79EA5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38B417#FFFFFF#000000##000000
##38B4171.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)
#AB992E
Tritanopia (blue-blind)
#1EAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #38b417;
/* rgb */ color: rgb(56, 180, 23);
/* oklch */ color: oklch(67.5% 0.212 140.6);
Tailwind
colors: {
  custom: {
    50: '#81cc66',
    500: '#38b417',
    950: '#000000',
  },
}
SCSS
$custom: #38b417;
$custom-light: #81cc66;
$custom-dark: #000000;
JSON
{
  "hex": "#38b417",
  "rgb": {
    "r": 56,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 107.389,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.21186,
    "h": 140.6
  },
  "luminance": 0.33545
}

Semantic roles & 50–950 ramp

primary
#38B417
secondary
#B559CE
accent
#34F4CC
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #38B417

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

Preview Lab → · Contrast checker → · Palette generator →

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