#38B031#38B031

#38B031 is a light, vivid green. Relative luminance 0.321; OKLCH L 66.6% C 0.195 H 142.3°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#38B031
RGBrgb(56, 176, 49)
HSLhsl(117, 56%, 44%)
HSVhsv(117, 72%, 69%)
CMYKcmyk(68.2%, 0%, 72.2%, 31%)
CIE-LABlab(63.43, -56.81, 52.60)
CIE-LCHlch(63.43, 77.42, 137.20°)
OKLaboklab(66.61% -0.1546 0.1195)
OKLCHoklch(66.61% 0.195 142.3)
XYZxyz(17.7096, 32.1113, 8.1699)
Luminance0.3211 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B031 #A931B0
analogous
#78B031 #38B031 #31B06A
triadic
#38B031 #3138B0 #B03138
tetradic
#38B031 #3178B0 #A931B0 #B06A31
square
#38B031 #3178B0 #A931B0 #B06A31
split-complementary
#38B031 #6A31B0 #B03178
monochromatic
#1A5016 #298024 #38B031 #57CE50 #85DC80

Accessibility & contrast

On white

2.83
#38B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#38B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B031
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B031#FFFFFF#000000##000000
##38B0311.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1B
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#1BAB97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #38b031;
/* rgb */ color: rgb(56, 176, 49);
/* oklch */ color: oklch(66.6% 0.195 142.3);
Tailwind
colors: {
  custom: {
    50: '#7fc971',
    500: '#38b031',
    950: '#000000',
  },
}
SCSS
$custom: #38b031;
$custom-light: #7fc971;
$custom-dark: #000000;
JSON
{
  "hex": "#38b031",
  "rgb": {
    "r": 56,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 116.693,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.19542,
    "h": 142.3
  },
  "luminance": 0.32113
}

Semantic roles & 50–950 ramp

primary
#38B031
secondary
#C078C5
accent
#48E0D7
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #38B031

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

Preview Lab → · Contrast checker → · Palette generator →

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