#38942A#38942A

#38942A is a mid, vivid green. Relative luminance 0.222; OKLCH L 59.0% C 0.167 H 141.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#38942A
RGBrgb(56, 148, 42)
HSLhsl(112, 56%, 37%)
HSVhsv(112, 72%, 58%)
CMYKcmyk(62.2%, 0%, 71.6%, 42%)
CIE-LABlab(54.22, -47.49, 45.80)
CIE-LCHlch(54.22, 65.97, 136.04°)
OKLaboklab(58.97% -0.1298 0.1044)
OKLCHoklch(58.97% 0.167 141.2)
XYZxyz(12.6381, 22.1865, 5.8065)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38942A #862A94
analogous
#6D942A #38942A #2A9451
triadic
#38942A #2A3894 #942A38
tetradic
#38942A #2A6D94 #862A94 #94512A
square
#38942A #2A6D94 #862A94 #94512A
split-complementary
#38942A #512A94 #942A6D
monochromatic
#14350F #26641C #38942A #4AC438 #74D365

Accessibility & contrast

On white

3.86
#38942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#38942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38942A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38942A#FFFFFF#000000##000000
##38942A1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#8C7F34
Tritanopia (blue-blind)
#2A8F7F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #38942a;
/* rgb */ color: rgb(56, 148, 42);
/* oklch */ color: oklch(59.0% 0.167 141.2);
Tailwind
colors: {
  custom: {
    50: '#7ab46a',
    500: '#38942a',
    950: '#000000',
  },
}
SCSS
$custom: #38942a;
$custom-light: #7ab46a;
$custom-dark: #000000;
JSON
{
  "hex": "#38942a",
  "rgb": {
    "r": 56,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 112.075,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58966,
    "c": 0.16653,
    "h": 141.2
  },
  "luminance": 0.22188
}

Semantic roles & 50–950 ramp

primary
#38942A
secondary
#AE60B9
accent
#49DFCB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38942A

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

Preview Lab → · Contrast checker → · Palette generator →

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