#38B731#38B731

#38B731 is a light, highly saturated green. Relative luminance 0.349; OKLCH L 68.5% C 0.203 H 142.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#38B731
RGBrgb(56, 183, 49)
HSLhsl(117, 58%, 45%)
HSVhsv(117, 73%, 72%)
CMYKcmyk(69.4%, 0%, 73.2%, 28.2%)
CIE-LABlab(65.69, -59.17, 54.91)
CIE-LCHlch(65.69, 80.72, 137.14°)
OKLaboklab(68.48% -0.161 0.1243)
OKLCHoklch(68.48% 0.203 142.3)
XYZxyz(19.1177, 34.9274, 8.6393)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B731 #B031B7
analogous
#7BB731 #38B731 #31B76D
triadic
#38B731 #3138B7 #B73138
tetradic
#38B731 #317BB7 #B031B7 #B76D31
square
#38B731 #317BB7 #B031B7 #B76D31
split-complementary
#38B731 #6D31B7 #B7317B
monochromatic
#1A5617 #298724 #38B731 #5BD154 #89DE84

Accessibility & contrast

On white

2.63
#38B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#38B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B731
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B731#FFFFFF#000000##000000
##38B7311.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#AC9C3F
Tritanopia (blue-blind)
#16B19D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #38b731;
/* rgb */ color: rgb(56, 183, 49);
/* oklch */ color: oklch(68.5% 0.203 142.3);
Tailwind
colors: {
  custom: {
    50: '#81ce72',
    500: '#38b731',
    950: '#000000',
  },
}
SCSS
$custom: #38b731;
$custom-light: #81ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#38b731",
  "rgb": {
    "r": 56,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 116.866,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.20341,
    "h": 142.3
  },
  "luminance": 0.34929
}

Semantic roles & 50–950 ramp

primary
#38B731
secondary
#C47CC8
accent
#47E1D9
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #38B731

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

Preview Lab → · Contrast checker → · Palette generator →

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