#38B126#38B126

#38B126 is a light, highly saturated green. Relative luminance 0.324; OKLCH L 66.8% C 0.203 H 141.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#38B126
RGBrgb(56, 177, 38)
HSLhsl(112, 65%, 42%)
HSVhsv(112, 79%, 69%)
CMYKcmyk(68.4%, 0%, 78.5%, 30.6%)
CIE-LABlab(63.69, -57.96, 56.68)
CIE-LCHlch(63.69, 81.06, 135.64°)
OKLaboklab(66.8% -0.1583 0.1265)
OKLCHoklch(66.8% 0.203 141.4)
XYZxyz(17.7019, 32.4231, 7.1587)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B126 #9F26B1
analogous
#7EB126 #38B126 #26B159
triadic
#38B126 #2638B1 #B12638
tetradic
#38B126 #267EB1 #9F26B1 #B15926
square
#38B126 #267EB1 #9F26B1 #B15926
split-complementary
#38B126 #5926B1 #B1267E
monochromatic
#184C10 #287F1B #38B126 #52D63F #7FE071

Accessibility & contrast

On white

2.81
#38B126 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#38B126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B126
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B126#FFFFFF#000000##000000
##38B1261.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A79736
Tritanopia (blue-blind)
#1DAB97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38b126;
/* rgb */ color: rgb(56, 177, 38);
/* oklch */ color: oklch(66.8% 0.203 141.4);
Tailwind
colors: {
  custom: {
    50: '#80c96c',
    500: '#38b126',
    950: '#000000',
  },
}
SCSS
$custom: #38b126;
$custom-light: #80c96c;
$custom-dark: #000000;
JSON
{
  "hex": "#38b126",
  "rgb": {
    "r": 56,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 112.23,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66797,
    "c": 0.20263,
    "h": 141.4
  },
  "luminance": 0.32425
}

Semantic roles & 50–950 ramp

primary
#38B126
secondary
#BB6BC7
accent
#40E8D2
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #38B126

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

Preview Lab → · Contrast checker → · Palette generator →

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