#38AF5B#38AF5B

#38AF5B is a light, vivid green. Relative luminance 0.323; OKLCH L 66.8% C 0.161 H 149.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#38AF5B
RGBrgb(56, 175, 91)
HSLhsl(138, 52%, 45%)
HSVhsv(138, 68%, 69%)
CMYKcmyk(68%, 0%, 48%, 31.4%)
CIE-LABlab(63.55, -51.33, 33.57)
CIE-LCHlch(63.55, 61.33, 146.81°)
OKLaboklab(66.85% -0.1383 0.0819)
OKLCHoklch(66.85% 0.161 149.4)
XYZxyz(18.8477, 32.2540, 15.1279)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF5B #AF388C
analogous
#51AF38 #38AF5B #38AF96
triadic
#38AF5B #5B38AF #AF5B38
tetradic
#38AF5B #3851AF #AF388C #AF9638
square
#38AF5B #3851AF #AF388C #AF9638
split-complementary
#38AF5B #9638AF #AF3851
monochromatic
#1A522B #298143 #38AF5B #5ACA7B #88D9A0

Accessibility & contrast

On white

2.82
#38AF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#38AF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF5B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF5B#FFFFFF#000000##000000
##38AF5B1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A054
Deuteranopia (green-blind)
#A29661
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38af5b;
/* rgb */ color: rgb(56, 175, 91);
/* oklch */ color: oklch(66.8% 0.161 149.4);
Tailwind
colors: {
  custom: {
    50: '#7dc88b',
    500: '#38af5b',
    950: '#000000',
  },
}
SCSS
$custom: #38af5b;
$custom-light: #7dc88b;
$custom-dark: #000000;
JSON
{
  "hex": "#38af5b",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 137.647,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66845,
    "c": 0.16075,
    "h": 149.4
  },
  "luminance": 0.32256
}

Semantic roles & 50–950 ramp

primary
#38AF5B
secondary
#C380AF
accent
#4DB1DB
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #38AF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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