#38AF3A#38AF3A

#38AF3A is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.188 H 143.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#38AF3A
RGBrgb(56, 175, 58)
HSLhsl(121, 52%, 45%)
HSVhsv(121, 68%, 69%)
CMYKcmyk(68%, 0%, 66.9%, 31.4%)
CIE-LABlab(63.18, -55.64, 48.73)
CIE-LCHlch(63.18, 73.97, 138.79°)
OKLaboklab(66.42% -0.151 0.1125)
OKLCHoklch(66.42% 0.188 143.3)
XYZxyz(17.7235, 31.8043, 9.2070)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF3A #AF38AD
analogous
#72AF38 #38AF3A #38AF75
triadic
#38AF3A #3A38AF #AF3A38
tetradic
#38AF3A #3872AF #AF38AD #AF7538
square
#38AF3A #3872AF #AF38AD #AF7538
split-complementary
#38AF3A #7538AF #AF3872
monochromatic
#1A521B #29812B #38AF3A #5ACA5C #88D98A

Accessibility & contrast

On white

2.85
#38AF3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#38AF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF3A
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF3A#FFFFFF#000000##000000
##38AF3A1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2B
Deuteranopia (green-blind)
#A59545
Tritanopia (blue-blind)
#18AA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af3a;
/* rgb */ color: rgb(56, 175, 58);
/* oklch */ color: oklch(66.4% 0.188 143.3);
Tailwind
colors: {
  custom: {
    50: '#7fc876',
    500: '#38af3a',
    950: '#000000',
  },
}
SCSS
$custom: #38af3a;
$custom-light: #7fc876;
$custom-dark: #000000;
JSON
{
  "hex": "#38af3a",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 121.008,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.18829,
    "h": 143.3
  },
  "luminance": 0.31806
}

Semantic roles & 50–950 ramp

primary
#38AF3A
secondary
#C380C2
accent
#4DD9DB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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