#38AF2F#38AF2F

#38AF2F is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.195 H 142.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#38AF2F
RGBrgb(56, 175, 47)
HSLhsl(116, 58%, 44%)
HSVhsv(116, 73%, 69%)
CMYKcmyk(68%, 0%, 73.1%, 31.4%)
CIE-LABlab(63.10, -56.64, 53.00)
CIE-LCHlch(63.10, 77.57, 136.90°)
OKLaboklab(66.32% -0.1542 0.1201)
OKLCHoklch(66.32% 0.195 142.1)
XYZxyz(17.4730, 31.7041, 7.8874)
Luminance0.3171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF2F #A62FAF
analogous
#78AF2F #38AF2F #2FAF66
triadic
#38AF2F #2F38AF #AF2F38
tetradic
#38AF2F #2F78AF #A62FAF #AF662F
square
#38AF2F #2F78AF #A62FAF #AF662F
split-complementary
#38AF2F #662FAF #AF2F78
monochromatic
#194F15 #297F22 #38AF2F #55CF4C #83DC7C

Accessibility & contrast

On white

2.86
#38AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#38AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF2F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF2F#FFFFFF#000000##000000
##38AF2F1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F18
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#1CAA96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af2f;
/* rgb */ color: rgb(56, 175, 47);
/* oklch */ color: oklch(66.3% 0.195 142.1);
Tailwind
colors: {
  custom: {
    50: '#7fc870',
    500: '#38af2f',
    950: '#000000',
  },
}
SCSS
$custom: #38af2f;
$custom-light: #7fc870;
$custom-dark: #000000;
JSON
{
  "hex": "#38af2f",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 115.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66322,
    "c": 0.19548,
    "h": 142.1
  },
  "luminance": 0.31706
}

Semantic roles & 50–950 ramp

primary
#38AF2F
secondary
#BF75C4
accent
#47E1D6
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #38AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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