#38AF2B#38AF2B

#38AF2B is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.198 H 141.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#38AF2B
RGBrgb(56, 175, 43)
HSLhsl(114, 61%, 43%)
HSVhsv(114, 75%, 69%)
CMYKcmyk(68%, 0%, 75.4%, 31.4%)
CIE-LABlab(63.07, -56.94, 54.41)
CIE-LCHlch(63.07, 78.76, 136.30°)
OKLaboklab(66.29% -0.1553 0.1225)
OKLCHoklch(66.29% 0.198 141.7)
XYZxyz(17.3960, 31.6733, 7.4818)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38AF2B #A22BAF
analogous
#7AAF2B #38AF2B #2BAF60
triadic
#38AF2B #2B38AF #AF2B38
tetradic
#38AF2B #2B7AAF #A22BAF #AF602B
square
#38AF2B #2B7AAF #A22BAF #AF602B
split-complementary
#38AF2B #602BAF #AF2B7A
monochromatic
#194D13 #287E1F #38AF2B #53D146 #81DE77

Accessibility & contrast

On white

2.86
#38AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#38AF2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38AF2B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38AF2B#FFFFFF#000000##000000
##38AF2B1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E0F
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#1DAA96
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #38af2b;
/* rgb */ color: rgb(56, 175, 43);
/* oklch */ color: oklch(66.3% 0.198 141.7);
Tailwind
colors: {
  custom: {
    50: '#7fc86e',
    500: '#38af2b',
    950: '#000000',
  },
}
SCSS
$custom: #38af2b;
$custom-light: #7fc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#38af2b",
  "rgb": {
    "r": 56,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 114.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66293,
    "c": 0.19779,
    "h": 141.7
  },
  "luminance": 0.31675
}

Semantic roles & 50–950 ramp

primary
#38AF2B
secondary
#BD70C5
accent
#44E4D4
background
#F8FCF6
surface
#F0F8EC
border
#CBD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #38AF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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