#38AF52#38AF52

#38AF52 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.7% C 0.169 H 147.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#38AF52
RGBrgb(56, 175, 82)
HSLhsl(133, 52%, 45%)
HSVhsv(133, 68%, 69%)
CMYKcmyk(68%, 0%, 53.1%, 31.4%)
CIE-LABlab(63.43, -52.70, 37.96)
CIE-LCHlch(63.43, 64.95, 144.24°)
OKLaboklab(66.71% -0.1421 0.0913)
OKLCHoklch(66.71% 0.169 147.3)
XYZxyz(18.4825, 32.1079, 13.2044)
Luminance0.3211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF52 #AF3895
analogous
#5AAF38 #38AF52 #38AF8D
triadic
#38AF52 #5238AF #AF5238
tetradic
#38AF52 #385AAF #AF3895 #AF8D38
square
#38AF52 #385AAF #AF3895 #AF8D38
split-complementary
#38AF52 #8D38AF #AF385A
monochromatic
#1A5227 #29813C #38AF52 #5ACA73 #88D99A

Accessibility & contrast

On white

2.83
#38AF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#38AF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF52
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF52#FFFFFF#000000##000000
##38AF521.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04A
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#05AB9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38af52;
/* rgb */ color: rgb(56, 175, 82);
/* oklch */ color: oklch(66.7% 0.169 147.3);
Tailwind
colors: {
  custom: {
    50: '#7ec885',
    500: '#38af52',
    950: '#000000',
  },
}
SCSS
$custom: #38af52;
$custom-light: #7ec885;
$custom-dark: #000000;
JSON
{
  "hex": "#38af52",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 133.109,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.16891,
    "h": 147.3
  },
  "luminance": 0.3211
}

Semantic roles & 50–950 ramp

primary
#38AF52
secondary
#C380B4
accent
#4DBCDB
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #38AF52

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

Preview Lab → · Contrast checker → · Palette generator →

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