#38B231#38B231

#38B231 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.1% C 0.198 H 142.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#38B231
RGBrgb(56, 178, 49)
HSLhsl(117, 57%, 45%)
HSVhsv(117, 72%, 70%)
CMYKcmyk(68.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(64.08, -57.49, 53.26)
CIE-LCHlch(64.08, 78.37, 137.19°)
OKLaboklab(67.14% -0.1564 0.1209)
OKLCHoklch(67.14% 0.198 142.3)
XYZxyz(18.1046, 32.9014, 8.3016)
Luminance0.3290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B231 #AB31B2
analogous
#79B231 #38B231 #31B26B
triadic
#38B231 #3138B2 #B23138
tetradic
#38B231 #3179B2 #AB31B2 #B26B31
square
#38B231 #3179B2 #AB31B2 #B26B31
split-complementary
#38B231 #6B31B2 #B23179
monochromatic
#1A5217 #298224 #38B231 #58CF51 #86DC81

Accessibility & contrast

On white

2.77
#38B231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#38B231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B231
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B231#FFFFFF#000000##000000
##38B2311.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11B
Deuteranopia (green-blind)
#A8983E
Tritanopia (blue-blind)
#19AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b231;
/* rgb */ color: rgb(56, 178, 49);
/* oklch */ color: oklch(67.1% 0.198 142.3);
Tailwind
colors: {
  custom: {
    50: '#80ca71',
    500: '#38b231',
    950: '#000000',
  },
}
SCSS
$custom: #38b231;
$custom-light: #80ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#38b231",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 116.744,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67142,
    "c": 0.19773,
    "h": 142.3
  },
  "luminance": 0.32903
}

Semantic roles & 50–950 ramp

primary
#38B231
secondary
#C179C5
accent
#48E0D8
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0C1308
muted
#7D827B

Preview Lab

Preview with #38B231

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

Preview Lab → · Contrast checker → · Palette generator →

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