#38B41B#38B41B

#38B41B is a light, highly saturated green. Relative luminance 0.336; OKLCH L 67.5% C 0.211 H 140.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#38B41B
RGBrgb(56, 180, 27)
HSLhsl(109, 74%, 41%)
HSVhsv(109, 85%, 71%)
CMYKcmyk(68.9%, 0%, 85%, 29.4%)
CIE-LABlab(64.61, -59.54, 60.59)
CIE-LCHlch(64.61, 84.95, 134.50°)
OKLaboklab(67.55% -0.163 0.1332)
OKLCHoklch(67.55% 0.211 140.7)
XYZxyz(18.1490, 33.5605, 6.5581)
Luminance0.3356 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B41B #971BB4
analogous
#85B41B #38B41B #1BB44A
triadic
#38B41B #1B38B4 #B41B38
tetradic
#38B41B #1B85B4 #971BB4 #B44A1B
square
#38B41B #1B85B4 #971BB4 #B44A1B
split-complementary
#38B41B #4A1BB4 #B41B85
monochromatic
#174A0B #277F13 #38B41B #4FDF2D #7BE762

Accessibility & contrast

On white

2.72
#38B41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#38B41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B41B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B41B#FFFFFF#000000##000000
##38B41B1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AB9930
Tritanopia (blue-blind)
#1EAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #38b41b;
/* rgb */ color: rgb(56, 180, 27);
/* oklch */ color: oklch(67.5% 0.211 140.7);
Tailwind
colors: {
  custom: {
    50: '#81cc68',
    500: '#38b41b',
    950: '#000000',
  },
}
SCSS
$custom: #38b41b;
$custom-light: #81cc68;
$custom-dark: #000000;
JSON
{
  "hex": "#38b41b",
  "rgb": {
    "r": 56,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 108.627,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.67546,
    "c": 0.21053,
    "h": 140.7
  },
  "luminance": 0.33562
}

Semantic roles & 50–950 ramp

primary
#38B41B
secondary
#B75FCC
accent
#37F1CD
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #38B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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