#38B41F#38B41F

#38B41F is a light, highly saturated green. Relative luminance 0.336; OKLCH L 67.6% C 0.209 H 141.0°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#38B41F
RGBrgb(56, 180, 31)
HSLhsl(110, 71%, 41%)
HSVhsv(110, 83%, 71%)
CMYKcmyk(68.9%, 0%, 82.8%, 29.4%)
CIE-LABlab(64.63, -59.35, 59.59)
CIE-LCHlch(64.63, 84.11, 134.88°)
OKLaboklab(67.56% -0.1623 0.1317)
OKLCHoklch(67.56% 0.209 141)
XYZxyz(18.1985, 33.5803, 6.8186)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38B41F #9B1FB4
analogous
#83B41F #38B41F #1FB451
triadic
#38B41F #1F38B4 #B41F38
tetradic
#38B41F #1F83B4 #9B1FB4 #B4511F
square
#38B41F #1F83B4 #9B1FB4 #B4511F
split-complementary
#38B41F #511FB4 #B41F83
monochromatic
#184C0D #288016 #38B41F #50DC34 #7DE568

Accessibility & contrast

On white

2.72
#38B41F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#38B41F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #38B41F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38B41F#FFFFFF#000000##000000
##38B41F1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AA9932
Tritanopia (blue-blind)
#1DAE99
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #38b41f;
/* rgb */ color: rgb(56, 180, 31);
/* oklch */ color: oklch(67.6% 0.209 141.0);
Tailwind
colors: {
  custom: {
    50: '#81cc69',
    500: '#38b41f',
    950: '#000000',
  },
}
SCSS
$custom: #38b41f;
$custom-light: #81cc69;
$custom-dark: #000000;
JSON
{
  "hex": "#38b41f",
  "rgb": {
    "r": 56,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 109.933,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67564,
    "c": 0.20902,
    "h": 141
  },
  "luminance": 0.33582
}

Semantic roles & 50–950 ramp

primary
#38B41F
secondary
#B964CB
accent
#3AEDCF
background
#F8FCF6
surface
#F0F9EC
border
#CBD2C7
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #38B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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