#38AF3C#38AF3C

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

Color values

HEX#38AF3C
RGBrgb(56, 175, 60)
HSLhsl(122, 52%, 45%)
HSVhsv(122, 68%, 69%)
CMYKcmyk(68%, 0%, 65.7%, 31.4%)
CIE-LABlab(63.20, -55.44, 47.90)
CIE-LCHlch(63.20, 73.27, 139.17°)
OKLaboklab(66.44% -0.1503 0.111)
OKLCHoklch(66.44% 0.187 143.6)
XYZxyz(17.7754, 31.8251, 9.4802)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF3C #AF38AB
analogous
#6FAF38 #38AF3C #38AF78
triadic
#38AF3C #3C38AF #AF3C38
tetradic
#38AF3C #386FAF #AF38AB #AF7838
square
#38AF3C #386FAF #AF38AB #AF7838
split-complementary
#38AF3C #7838AF #AF386F
monochromatic
#1A521C #29812C #38AF3C #5ACA5E #88D98B

Accessibility & contrast

On white

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

On black

7.37
#38AF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF3C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF3C#FFFFFF#000000##000000
##38AF3C1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2D
Deuteranopia (green-blind)
#A49546
Tritanopia (blue-blind)
#17AA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af3c;
/* rgb */ color: rgb(56, 175, 60);
/* oklch */ color: oklch(66.4% 0.187 143.6);
Tailwind
colors: {
  custom: {
    50: '#7fc877',
    500: '#38af3c',
    950: '#000000',
  },
}
SCSS
$custom: #38af3c;
$custom-light: #7fc877;
$custom-dark: #000000;
JSON
{
  "hex": "#38af3c",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 122.017,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.18685,
    "h": 143.6
  },
  "luminance": 0.31827
}

Semantic roles & 50–950 ramp

primary
#38AF3C
secondary
#C380C1
accent
#4DD6DB
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38AF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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