#38AF38#38AF38

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

Color values

HEX#38AF38
RGBrgb(56, 175, 56)
HSLhsl(120, 52%, 45%)
HSVhsv(120, 68%, 69%)
CMYKcmyk(68%, 0%, 68%, 31.4%)
CIE-LABlab(63.16, -55.84, 49.55)
CIE-LCHlch(63.16, 74.65, 138.42°)
OKLaboklab(66.4% -0.1516 0.114)
OKLCHoklch(66.4% 0.19 143.1)
XYZxyz(17.6736, 31.7844, 8.9442)
Luminance0.3179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF38 #AF38AF
analogous
#73AF38 #38AF38 #38AF73
triadic
#38AF38 #3838AF #AF3838
tetradic
#38AF38 #3873AF #AF38AF #AF7338
square
#38AF38 #3873AF #AF38AF #AF7338
split-complementary
#38AF38 #7338AF #AF3873
monochromatic
#1A521A #298129 #38AF38 #5ACA5A #88D988

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38AF38#FFFFFF#000000##000000
##38AF381.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)
#B39F28
Deuteranopia (green-blind)
#A59543
Tritanopia (blue-blind)
#19AA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af38;
/* rgb */ color: rgb(56, 175, 56);
/* oklch */ color: oklch(66.4% 0.190 143.1);
Tailwind
colors: {
  custom: {
    50: '#7fc874',
    500: '#38af38',
    950: '#000000',
  },
}
SCSS
$custom: #38af38;
$custom-light: #7fc874;
$custom-dark: #000000;
JSON
{
  "hex": "#38af38",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 56
  },
  "hsl": {
    "h": 120,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66399,
    "c": 0.18968,
    "h": 143.1
  },
  "luminance": 0.31786
}

Semantic roles & 50–950 ramp

primary
#38AF38
secondary
#C380C3
accent
#4DDBDB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AF38

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

Preview Lab → · Contrast checker → · Palette generator →

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