#38702A#38702A

#38702A is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.118 H 139.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#38702A
RGBrgb(56, 112, 42)
HSLhsl(108, 45%, 30%)
HSVhsv(108, 63%, 44%)
CMYKcmyk(50%, 0%, 62.5%, 56.1%)
CIE-LABlab(42.15, -32.96, 32.64)
CIE-LCHlch(42.15, 46.38, 135.28°)
OKLaboklab(49.02% -0.0904 0.0765)
OKLCHoklch(49.02% 0.118 139.7)
XYZxyz(7.8427, 12.5957, 4.2080)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38702A #622A70
analogous
#5B702A #38702A #2A703F
triadic
#38702A #2A3870 #702A38
tetradic
#38702A #2A5B70 #622A70 #703F2A
square
#38702A #2A5B70 #622A70 #703F2A
split-complementary
#38702A #3F2A70 #702A5B
monochromatic
#0B1709 #224319 #38702A #4E9D3B #6ABF55

Accessibility & contrast

On white

5.97
#38702A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#38702A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38702A
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38702A#FFFFFF#000000##FFFFFF
##38702A1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736623
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#336C61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38702a;
/* rgb */ color: rgb(56, 112, 42);
/* oklch */ color: oklch(49.0% 0.118 139.7);
Tailwind
colors: {
  custom: {
    50: '#749966',
    500: '#38702a',
    950: '#000000',
  },
}
SCSS
$custom: #38702a;
$custom-light: #749966;
$custom-dark: #000000;
JSON
{
  "hex": "#38702a",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 42
  },
  "hsl": {
    "h": 108,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49017,
    "c": 0.11844,
    "h": 139.7
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#38702A
secondary
#9254A2
accent
#53D5BB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #38702A

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

Preview Lab → · Contrast checker → · Palette generator →

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