#38B238#38B238

#38B238 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.2% C 0.193 H 143.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#38B238
RGBrgb(56, 178, 56)
HSLhsl(120, 52%, 46%)
HSVhsv(120, 69%, 70%)
CMYKcmyk(68.5%, 0%, 68.5%, 30.2%)
CIE-LABlab(64.13, -56.87, 50.59)
CIE-LCHlch(64.13, 76.11, 138.35°)
OKLaboklab(67.2% -0.1544 0.1162)
OKLCHoklch(67.2% 0.193 143)
XYZxyz(18.2640, 32.9651, 9.1410)
Luminance0.3297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B238 #B238B2
analogous
#75B238 #38B238 #38B275
triadic
#38B238 #3838B2 #B23838
tetradic
#38B238 #3875B2 #B238B2 #B27538
square
#38B238 #3875B2 #B238B2 #B27538
split-complementary
#38B238 #7538B2 #B23875
monochromatic
#1B551B #298329 #38B238 #5CCC5C #8ADA8A

Accessibility & contrast

On white

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

On black

7.59
#38B238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B238
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B238#FFFFFF#000000##000000
##38B2381.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A127
Deuteranopia (green-blind)
#A79844
Tritanopia (blue-blind)
#17AD99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #38b238;
/* rgb */ color: rgb(56, 178, 56);
/* oklch */ color: oklch(67.2% 0.193 143.0);
Tailwind
colors: {
  custom: {
    50: '#7fca75',
    500: '#38b238',
    950: '#000000',
  },
}
SCSS
$custom: #38b238;
$custom-light: #7fca75;
$custom-dark: #000000;
JSON
{
  "hex": "#38b238",
  "rgb": {
    "r": 56,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 120,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.19323,
    "h": 143
  },
  "luminance": 0.32967
}

Semantic roles & 50–950 ramp

primary
#38B238
secondary
#C581C5
accent
#4CDCDC
background
#F8FCF7
surface
#F0F8ED
border
#CBD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #38B238

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

Preview Lab → · Contrast checker → · Palette generator →

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