#38951D#38951D

#38951D is a mid, vivid green. Relative luminance 0.224; OKLCH L 59.1% C 0.175 H 139.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#38951D
RGBrgb(56, 149, 29)
HSLhsl(107, 67%, 35%)
HSVhsv(107, 81%, 58%)
CMYKcmyk(62.4%, 0%, 80.5%, 41.6%)
CIE-LABlab(54.47, -48.82, 50.72)
CIE-LCHlch(54.47, 70.40, 133.90°)
OKLaboklab(59.15% -0.1341 0.1128)
OKLCHoklch(59.15% 0.175 139.9)
XYZxyz(12.5995, 22.4232, 4.8263)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951D #7A1D95
analogous
#74951D #38951D #1D953E
triadic
#38951D #1D3895 #951D38
tetradic
#38951D #1D7495 #7A1D95 #953E1D
square
#38951D #1D7495 #7A1D95 #953E1D
split-complementary
#38951D #3E1D95 #951D74
monochromatic
#112F09 #256213 #38951D #4BC827 #6FDD50

Accessibility & contrast

On white

3.83
#38951D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#38951D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38951D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38951D#FFFFFF#000000##000000
##38951D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#2B907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #38951d;
/* rgb */ color: rgb(56, 149, 29);
/* oklch */ color: oklch(59.1% 0.175 139.9);
Tailwind
colors: {
  custom: {
    50: '#7bb564',
    500: '#38951d',
    950: '#000000',
  },
}
SCSS
$custom: #38951d;
$custom-light: #7bb564;
$custom-dark: #000000;
JSON
{
  "hex": "#38951d",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 106.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59145,
    "c": 0.17525,
    "h": 139.9
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#38951D
secondary
#A64EC0
accent
#3DEAC3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951D

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

Preview Lab → · Contrast checker → · Palette generator →

#38951D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva