#38951E#38951E

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

Color values

HEX#38951E
RGBrgb(56, 149, 30)
HSLhsl(107, 66%, 35%)
HSVhsv(107, 80%, 58%)
CMYKcmyk(62.4%, 0%, 79.9%, 41.6%)
CIE-LABlab(54.48, -48.76, 50.41)
CIE-LCHlch(54.48, 70.13, 134.05°)
OKLaboklab(59.15% -0.1339 0.1123)
OKLCHoklch(59.15% 0.175 140)
XYZxyz(12.6121, 22.4282, 4.8925)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951E #7B1E95
analogous
#73951E #38951E #1E9540
triadic
#38951E #1E3895 #951E38
tetradic
#38951E #1E7395 #7B1E95 #95401E
square
#38951E #1E7395 #7B1E95 #95401E
split-complementary
#38951E #401E95 #951E73
monochromatic
#122F09 #256214 #38951E #4BC828 #70DC51

Accessibility & contrast

On white

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

On black

5.49
#38951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38951E
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38951E#FFFFFF#000000##000000
##38951E1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38951e;
/* rgb */ color: rgb(56, 149, 30);
/* oklch */ color: oklch(59.2% 0.175 140.0);
Tailwind
colors: {
  custom: {
    50: '#7bb564',
    500: '#38951e',
    950: '#000000',
  },
}
SCSS
$custom: #38951e;
$custom-light: #7bb564;
$custom-dark: #000000;
JSON
{
  "hex": "#38951e",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 106.891,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59151,
    "c": 0.17476,
    "h": 140
  },
  "luminance": 0.22429
}

Semantic roles & 50–950 ramp

primary
#38951E
secondary
#A750BF
accent
#3EE9C4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951E

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

Preview Lab → · Contrast checker → · Palette generator →

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