#38951B#38951B

#38951B 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#38951B
RGBrgb(56, 149, 27)
HSLhsl(106, 69%, 35%)
HSVhsv(106, 82%, 58%)
CMYKcmyk(62.4%, 0%, 81.9%, 41.6%)
CIE-LABlab(54.46, -48.94, 51.33)
CIE-LCHlch(54.46, 70.92, 133.63°)
OKLaboklab(59.13% -0.1345 0.1138)
OKLCHoklch(59.13% 0.176 139.8)
XYZxyz(12.5756, 22.4136, 4.7002)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38951B #781B95
analogous
#75951B #38951B #1B953B
triadic
#38951B #1B3895 #951B38
tetradic
#38951B #1B7595 #781B95 #953B1B
square
#38951B #1B7595 #781B95 #953B1B
split-complementary
#38951B #3B1B95 #951B75
monochromatic
#112D08 #256112 #38951B #4BC924 #6FDF4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #38951b;
/* rgb */ color: rgb(56, 149, 27);
/* oklch */ color: oklch(59.1% 0.176 139.8);
Tailwind
colors: {
  custom: {
    50: '#7bb563',
    500: '#38951b',
    950: '#000000',
  },
}
SCSS
$custom: #38951b;
$custom-light: #7bb563;
$custom-dark: #000000;
JSON
{
  "hex": "#38951b",
  "rgb": {
    "r": 56,
    "g": 149,
    "b": 27
  },
  "hsl": {
    "h": 105.738,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.17621,
    "h": 139.8
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#38951B
secondary
#A54BC1
accent
#3CECC2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38951B

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

Preview Lab → · Contrast checker → · Palette generator →

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