#38AB2A#38AB2A

#38AB2A is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.194 H 141.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#38AB2A
RGBrgb(56, 171, 42)
HSLhsl(113, 61%, 42%)
HSVhsv(113, 75%, 67%)
CMYKcmyk(67.3%, 0%, 75.4%, 32.9%)
CIE-LABlab(61.77, -55.66, 53.47)
CIE-LCHlch(61.77, 77.18, 136.15°)
OKLaboklab(65.21% -0.1519 0.1204)
OKLCHoklch(65.21% 0.194 141.6)
XYZxyz(16.6108, 30.1320, 7.1307)
Luminance0.3013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AB2A #9D2AAB
analogous
#79AB2A #38AB2A #2AAB5C
triadic
#38AB2A #2A38AB #AB2A38
tetradic
#38AB2A #2A79AB #9D2AAB #AB5C2A
square
#38AB2A #2A79AB #9D2AAB #AB5C2A
split-complementary
#38AB2A #5C2AAB #AB2A79
monochromatic
#184912 #287A1E #38AB2A #51D142 #7EDD73

Accessibility & contrast

On white

2.99
#38AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#38AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AB2A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AB2A#FFFFFF#000000##000000
##38AB2A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B0F
Deuteranopia (green-blind)
#A29238
Tritanopia (blue-blind)
#20A692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #38ab2a;
/* rgb */ color: rgb(56, 171, 42);
/* oklch */ color: oklch(65.2% 0.194 141.6);
Tailwind
colors: {
  custom: {
    50: '#7fc56d',
    500: '#38ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #38ab2a;
$custom-light: #7fc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#38ab2a",
  "rgb": {
    "r": 56,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 113.488,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.1938,
    "h": 141.6
  },
  "luminance": 0.30134
}

Semantic roles & 50–950 ramp

primary
#38AB2A
secondary
#BA6DC4
accent
#44E4D2
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #38AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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