#38A751#38A751

#38A751 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.6% C 0.159 H 147.6°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#38A751
RGBrgb(56, 167, 81)
HSLhsl(134, 50%, 44%)
HSVhsv(134, 66%, 65%)
CMYKcmyk(66.5%, 0%, 51.5%, 34.5%)
CIE-LABlab(60.84, -49.88, 35.28)
CIE-LCHlch(60.84, 61.09, 144.73°)
OKLaboklab(64.57% -0.1346 0.0853)
OKLCHoklch(64.57% 0.159 147.6)
XYZxyz(16.9336, 29.0705, 12.5017)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38A751 #A7388E
analogous
#56A738 #38A751 #38A788
triadic
#38A751 #5138A7 #A75138
tetradic
#38A751 #3856A7 #A7388E #A78838
square
#38A751 #3856A7 #A7388E #A78838
split-complementary
#38A751 #8838A7 #A73856
monochromatic
#194B25 #29793B #38A751 #56C66F #84D696

Accessibility & contrast

On white

3.08
#38A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#38A751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38A751
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38A751#FFFFFF#000000##000000
##38A7511.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#9B8F57
Tritanopia (blue-blind)
#10A393
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #38a751;
/* rgb */ color: rgb(56, 167, 81);
/* oklch */ color: oklch(64.6% 0.159 147.6);
Tailwind
colors: {
  custom: {
    50: '#7cc284',
    500: '#38a751',
    950: '#000000',
  },
}
SCSS
$custom: #38a751;
$custom-light: #7cc284;
$custom-dark: #000000;
JSON
{
  "hex": "#38a751",
  "rgb": {
    "r": 56,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 133.514,
    "s": 49.776,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64566,
    "c": 0.1593,
    "h": 147.6
  },
  "luminance": 0.29072
}

Semantic roles & 50–950 ramp

primary
#38A751
secondary
#BF7BB0
accent
#4FBAD9
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B120B
muted
#7C817C

Preview Lab

Preview with #38A751

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

Preview Lab → · Contrast checker → · Palette generator →

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