#38A226#38A226

#38A226 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.7% C 0.186 H 141.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#38A226
RGBrgb(56, 162, 38)
HSLhsl(111, 62%, 39%)
HSVhsv(111, 77%, 64%)
CMYKcmyk(65.4%, 0%, 76.5%, 36.5%)
CIE-LABlab(58.81, -52.84, 51.93)
CIE-LCHlch(58.81, 74.09, 135.50°)
OKLaboklab(62.75% -0.1445 0.1166)
OKLCHoklch(62.75% 0.186 141.1)
XYZxyz(14.9003, 26.8199, 6.2249)
Luminance0.2682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38A226 #9026A2
analogous
#76A226 #38A226 #26A252
triadic
#38A226 #2638A2 #A22638
tetradic
#38A226 #2676A2 #9026A2 #A25226
square
#38A226 #2676A2 #9026A2 #A25226
split-complementary
#38A226 #5226A2 #A22676
monochromatic
#163F0F #27701A #38A226 #4CD035 #78DB67

Accessibility & contrast

On white

3.30
#38A226 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#38A226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38A226
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38A226#FFFFFF#000000##000000
##38A2261.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69309
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#259D8A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #38a226;
/* rgb */ color: rgb(56, 162, 38);
/* oklch */ color: oklch(62.7% 0.186 141.1);
Tailwind
colors: {
  custom: {
    50: '#7dbe69',
    500: '#38a226',
    950: '#000000',
  },
}
SCSS
$custom: #38a226;
$custom-light: #7dbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#38a226",
  "rgb": {
    "r": 56,
    "g": 162,
    "b": 38
  },
  "hsl": {
    "h": 111.29,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.62749,
    "c": 0.18567,
    "h": 141.1
  },
  "luminance": 0.26821
}

Semantic roles & 50–950 ramp

primary
#38A226
secondary
#B463C1
accent
#43E5CE
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #38A226

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

Preview Lab → · Contrast checker → · Palette generator →

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