#38AF5C#38AF5C

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

Color values

HEX#38AF5C
RGBrgb(56, 175, 92)
HSLhsl(138, 52%, 45%)
HSVhsv(138, 68%, 69%)
CMYKcmyk(68%, 0%, 47.4%, 31.4%)
CIE-LABlab(63.57, -51.16, 33.08)
CIE-LCHlch(63.57, 60.93, 147.12°)
OKLaboklab(66.86% -0.1379 0.0808)
OKLCHoklch(66.86% 0.16 149.6)
XYZxyz(18.8912, 32.2714, 15.3566)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF5C #AF388B
analogous
#50AF38 #38AF5C #38AF97
triadic
#38AF5C #5C38AF #AF5C38
tetradic
#38AF5C #3850AF #AF388B #AF9738
square
#38AF5C #3850AF #AF388B #AF9738
split-complementary
#38AF5C #9738AF #AF3850
monochromatic
#1A522B #298144 #38AF5C #5ACA7C #88D9A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38AF5C#FFFFFF#000000##000000
##38AF5C1.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)
#B0A055
Deuteranopia (green-blind)
#A29662
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38af5c;
/* rgb */ color: rgb(56, 175, 92);
/* oklch */ color: oklch(66.9% 0.160 149.6);
Tailwind
colors: {
  custom: {
    50: '#7dc88b',
    500: '#38af5c',
    950: '#000000',
  },
}
SCSS
$custom: #38af5c;
$custom-light: #7dc88b;
$custom-dark: #000000;
JSON
{
  "hex": "#38af5c",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 92
  },
  "hsl": {
    "h": 138.151,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66862,
    "c": 0.15983,
    "h": 149.6
  },
  "luminance": 0.32273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38AF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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