#38951F#38951F

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

Color values

HEX#38951F
RGBrgb(56, 149, 31)
HSLhsl(107, 66%, 35%)
HSVhsv(107, 79%, 58%)
CMYKcmyk(62.4%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.48, -48.70, 50.09)
CIE-LCHlch(54.48, 69.86, 134.19°)
OKLaboklab(59.16% -0.1336 0.1118)
OKLCHoklch(59.16% 0.174 140.1)
XYZxyz(12.6251, 22.4334, 4.9608)
Luminance0.2243 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951F #7C1F95
analogous
#73951F #38951F #1F9541
triadic
#38951F #1F3895 #951F38
tetradic
#38951F #1F7395 #7C1F95 #95411F
square
#38951F #1F7395 #7C1F95 #95411F
split-complementary
#38951F #411F95 #951F73
monochromatic
#12300A #256214 #38951F #4BC82A #70DB53

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38951F#FFFFFF#000000##000000
##38951F1.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)
#8E7F2D
Tritanopia (blue-blind)
#2B907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #38951f;
/* rgb */ color: rgb(56, 149, 31);
/* oklch */ color: oklch(59.2% 0.174 140.1);
Tailwind
colors: {
  custom: {
    50: '#7bb564',
    500: '#38951f',
    950: '#000000',
  },
}
SCSS
$custom: #38951f;
$custom-light: #7bb564;
$custom-dark: #000000;
JSON
{
  "hex": "#38951f",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 107.288,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.17425,
    "h": 140.1
  },
  "luminance": 0.22435
}

Semantic roles & 50–950 ramp

primary
#38951F
secondary
#A751BF
accent
#3FE9C5
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951F

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

Preview Lab → · Contrast checker → · Palette generator →

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