#38B254#38B254

#38B254 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.171 H 147.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#38B254
RGBrgb(56, 178, 84)
HSLhsl(134, 52%, 46%)
HSVhsv(134, 69%, 70%)
CMYKcmyk(68.5%, 0%, 52.8%, 30.2%)
CIE-LABlab(64.42, -53.51, 38.17)
CIE-LCHlch(64.42, 65.73, 144.50°)
OKLaboklab(67.53% -0.1443 0.0919)
OKLCHoklch(67.53% 0.171 147.5)
XYZxyz(19.1501, 33.3196, 13.8079)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B254 #B23896
analogous
#59B238 #38B254 #38B291
triadic
#38B254 #5438B2 #B25438
tetradic
#38B254 #3859B2 #B23896 #B29138
square
#38B254 #3859B2 #B23896 #B29138
split-complementary
#38B254 #9138B2 #B23859
monochromatic
#1B5528 #29833E #38B254 #5CCC75 #8ADA9D

Accessibility & contrast

On white

2.74
#38B254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#38B254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B254
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B254#FFFFFF#000000##000000
##38B2541.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A24C
Deuteranopia (green-blind)
#A5985B
Tritanopia (blue-blind)
#00AE9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #38b254;
/* rgb */ color: rgb(56, 178, 84);
/* oklch */ color: oklch(67.5% 0.171 147.5);
Tailwind
colors: {
  custom: {
    50: '#7eca86',
    500: '#38b254',
    950: '#000000',
  },
}
SCSS
$custom: #38b254;
$custom-light: #7eca86;
$custom-dark: #000000;
JSON
{
  "hex": "#38b254",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 84
  },
  "hsl": {
    "h": 133.77,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.17103,
    "h": 147.5
  },
  "luminance": 0.33322
}

Semantic roles & 50–950 ramp

primary
#38B254
secondary
#C581B5
accent
#4CBBDC
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #38B254

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

Preview Lab → · Contrast checker → · Palette generator →

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