#38AF2C#38AF2C

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

Color values

HEX#38AF2C
RGBrgb(56, 175, 44)
HSLhsl(115, 60%, 43%)
HSVhsv(115, 75%, 69%)
CMYKcmyk(68%, 0%, 74.9%, 31.4%)
CIE-LABlab(63.08, -56.87, 54.07)
CIE-LCHlch(63.08, 78.47, 136.45°)
OKLaboklab(66.3% -0.155 0.1219)
OKLCHoklch(66.3% 0.197 141.8)
XYZxyz(17.4145, 31.6807, 7.5796)
Luminance0.3168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF2C #A32CAF
analogous
#79AF2C #38AF2C #2CAF62
triadic
#38AF2C #2C38AF #AF2C38
tetradic
#38AF2C #2C79AF #A32CAF #AF622C
square
#38AF2C #2C79AF #A32CAF #AF622C
split-complementary
#38AF2C #622CAF #AF2C79
monochromatic
#194D13 #287E20 #38AF2C #54D147 #82DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38AF2C#FFFFFF#000000##000000
##38AF2C1.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)
#B39E11
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#1DAA96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af2c;
/* rgb */ color: rgb(56, 175, 44);
/* oklch */ color: oklch(66.3% 0.197 141.8);
Tailwind
colors: {
  custom: {
    50: '#7fc86e',
    500: '#38af2c',
    950: '#000000',
  },
}
SCSS
$custom: #38af2c;
$custom-light: #7fc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#38af2c",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 114.504,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.663,
    "c": 0.19722,
    "h": 141.8
  },
  "luminance": 0.31683
}

Semantic roles & 50–950 ramp

primary
#38AF2C
secondary
#BD72C5
accent
#45E3D4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #38AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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