#38AC40#38AC40

#38AC40 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.180 H 144.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#38AC40
RGBrgb(56, 172, 64)
HSLhsl(124, 51%, 45%)
HSVhsv(124, 67%, 67%)
CMYKcmyk(67.4%, 0%, 62.8%, 32.5%)
CIE-LABlab(62.27, -53.95, 45.11)
CIE-LCHlch(62.27, 70.32, 140.10°)
OKLaboklab(65.68% -0.1461 0.1054)
OKLCHoklch(65.68% 0.18 144.2)
XYZxyz(17.3077, 30.7142, 9.8658)
Luminance0.3072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AC40 #AC38A4
analogous
#6AAC38 #38AC40 #38AC7A
triadic
#38AC40 #4038AC #AC4038
tetradic
#38AC40 #386AAC #AC38A4 #AC7A38
square
#38AC40 #386AAC #AC38A4 #AC7A38
split-complementary
#38AC40 #7A38AC #AC386A
monochromatic
#1A501E #297E2F #38AC40 #58C960 #87D88C

Accessibility & contrast

On white

2.94
#38AC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#38AC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AC40
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AC40#FFFFFF#000000##000000
##38AC401.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C34
Deuteranopia (green-blind)
#A19349
Tritanopia (blue-blind)
#17A795
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #38ac40;
/* rgb */ color: rgb(56, 172, 64);
/* oklch */ color: oklch(65.7% 0.180 144.2);
Tailwind
colors: {
  custom: {
    50: '#7ec679',
    500: '#38ac40',
    950: '#000000',
  },
}
SCSS
$custom: #38ac40;
$custom-light: #7ec679;
$custom-dark: #000000;
JSON
{
  "hex": "#38ac40",
  "rgb": {
    "r": 56,
    "g": 172,
    "b": 64
  },
  "hsl": {
    "h": 124.138,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.65678,
    "c": 0.18018,
    "h": 144.2
  },
  "luminance": 0.30716
}

Semantic roles & 50–950 ramp

primary
#38AC40
secondary
#C27EBD
accent
#4DD1DA
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AC40

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

Preview Lab → · Contrast checker → · Palette generator →

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