#38941B#38941B

#38941B is a mid, vivid green. Relative luminance 0.221; OKLCH L 58.9% C 0.175 H 139.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#38941B
RGBrgb(56, 148, 27)
HSLhsl(106, 69%, 34%)
HSVhsv(106, 82%, 58%)
CMYKcmyk(62.2%, 0%, 81.8%, 42%)
CIE-LABlab(54.13, -48.58, 51.02)
CIE-LCHlch(54.13, 70.45, 133.60°)
OKLaboklab(58.86% -0.1335 0.1132)
OKLCHoklch(58.86% 0.175 139.7)
XYZxyz(12.4181, 22.0985, 4.6477)
Luminance0.2210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38941B #771B94
analogous
#75941B #38941B #1B943B
triadic
#38941B #1B3894 #941B38
tetradic
#38941B #1B7594 #771B94 #943B1B
square
#38941B #1B7594 #771B94 #943B1B
split-complementary
#38941B #3B1B94 #941B75
monochromatic
#112C08 #246012 #38941B #4CC824 #6EDE4B

Accessibility & contrast

On white

3.87
#38941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#38941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38941B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38941B#FFFFFF#000000##000000
##38941B1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#2C8F7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38941b;
/* rgb */ color: rgb(56, 148, 27);
/* oklch */ color: oklch(58.9% 0.175 139.7);
Tailwind
colors: {
  custom: {
    50: '#7bb463',
    500: '#38941b',
    950: '#000000',
  },
}
SCSS
$custom: #38941b;
$custom-light: #7bb463;
$custom-dark: #000000;
JSON
{
  "hex": "#38941b",
  "rgb": {
    "r": 56,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 105.62,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58859,
    "c": 0.17505,
    "h": 139.7
  },
  "luminance": 0.221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #38941B

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

Preview Lab → · Contrast checker → · Palette generator →

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