#38B540#38B540

#38B540 is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.191 H 144.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#38B540
RGBrgb(56, 181, 64)
HSLhsl(124, 53%, 46%)
HSVhsv(124, 69%, 71%)
CMYKcmyk(69.1%, 0%, 64.6%, 29%)
CIE-LABlab(65.17, -57.09, 48.35)
CIE-LCHlch(65.17, 74.82, 139.74°)
OKLaboklab(68.08% -0.1546 0.1123)
OKLCHoklch(68.08% 0.191 144)
XYZxyz(19.0790, 34.2566, 10.4562)
Luminance0.3426 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B540 #B538AD
analogous
#6FB538 #38B540 #38B57F
triadic
#38B540 #4038B5 #B54038
tetradic
#38B540 #386FB5 #B538AD #B57F38
square
#38B540 #386FB5 #B538AD #B57F38
split-complementary
#38B540 #7F38B5 #B5386F
monochromatic
#1B581F #2A862F #38B540 #5DCD64 #8CDB91

Accessibility & contrast

On white

2.67
#38B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#38B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B540
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B540#FFFFFF#000000##000000
##38B5401.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A432
Deuteranopia (green-blind)
#AA9A4A
Tritanopia (blue-blind)
#10B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #38b540;
/* rgb */ color: rgb(56, 181, 64);
/* oklch */ color: oklch(68.1% 0.191 144.0);
Tailwind
colors: {
  custom: {
    50: '#80cc7a',
    500: '#38b540',
    950: '#000000',
  },
}
SCSS
$custom: #38b540;
$custom-light: #80cc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#38b540",
  "rgb": {
    "r": 56,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 123.84,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.68079,
    "c": 0.19113,
    "h": 144
  },
  "luminance": 0.34259
}

Semantic roles & 50–950 ramp

primary
#38B540
secondary
#C683C2
accent
#4CD3DC
background
#F8FCF7
surface
#F0F9EE
border
#CBD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B540

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

Preview Lab → · Contrast checker → · Palette generator →

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