#38951A#38951A

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

Color values

HEX#38951A
RGBrgb(56, 149, 26)
HSLhsl(105, 70%, 34%)
HSVhsv(105, 83%, 58%)
CMYKcmyk(62.4%, 0%, 82.6%, 41.6%)
CIE-LABlab(54.46, -49.00, 51.62)
CIE-LCHlch(54.46, 71.17, 133.51°)
OKLaboklab(59.13% -0.1347 0.1143)
OKLCHoklch(59.13% 0.177 139.7)
XYZxyz(12.5642, 22.4091, 4.6403)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951A #771A95
analogous
#76951A #38951A #1A953A
triadic
#38951A #1A3895 #951A38
tetradic
#38951A #1A7695 #771A95 #953A1A
square
#38951A #1A7695 #771A95 #953A1A
split-complementary
#38951A #3A1A95 #951A76
monochromatic
#112D08 #246111 #38951A #4CC923 #6EDF4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38951A#FFFFFF#000000##000000
##38951A1.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)
#8E7F29
Tritanopia (blue-blind)
#2C907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #38951a;
/* rgb */ color: rgb(56, 149, 26);
/* oklch */ color: oklch(59.1% 0.177 139.7);
Tailwind
colors: {
  custom: {
    50: '#7bb562',
    500: '#38951a',
    950: '#000000',
  },
}
SCSS
$custom: #38951a;
$custom-light: #7bb562;
$custom-dark: #000000;
JSON
{
  "hex": "#38951a",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 26
  },
  "hsl": {
    "h": 105.366,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.59128,
    "c": 0.17666,
    "h": 139.7
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#38951A
secondary
#A44AC1
accent
#3BEDC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951A

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

Preview Lab → · Contrast checker → · Palette generator →

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