#38951C#38951C

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

Color values

HEX#38951C
RGBrgb(56, 149, 28)
HSLhsl(106, 68%, 35%)
HSVhsv(106, 81%, 58%)
CMYKcmyk(62.4%, 0%, 81.2%, 41.6%)
CIE-LABlab(54.47, -48.88, 51.03)
CIE-LCHlch(54.47, 70.66, 133.77°)
OKLaboklab(59.14% -0.1343 0.1133)
OKLCHoklch(59.14% 0.176 139.8)
XYZxyz(12.5874, 22.4183, 4.7622)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951C #791C95
analogous
#74951C #38951C #1C953D
triadic
#38951C #1C3895 #951C38
tetradic
#38951C #1C7495 #791C95 #953D1C
square
#38951C #1C7495 #791C95 #953D1C
split-complementary
#38951C #3D1C95 #951C74
monochromatic
#112E09 #256112 #38951C #4BC926 #6FDE4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38951C#FFFFFF#000000##000000
##38951C1.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: #38951c;
/* rgb */ color: rgb(56, 149, 28);
/* oklch */ color: oklch(59.1% 0.176 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb563',
    500: '#38951c',
    950: '#000000',
  },
}
SCSS
$custom: #38951c;
$custom-light: #7bb563;
$custom-dark: #000000;
JSON
{
  "hex": "#38951c",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 106.116,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59139,
    "c": 0.17574,
    "h": 139.8
  },
  "luminance": 0.22419
}

Semantic roles & 50–950 ramp

primary
#38951C
secondary
#A54DC0
accent
#3DEBC3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951C

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

Preview Lab → · Contrast checker → · Palette generator →

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