#30712D#30712D

#30712D is a mid, vivid green. Relative luminance 0.126; OKLCH L 49.0% C 0.121 H 142.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#30712D
RGBrgb(48, 113, 45)
HSLhsl(117, 43%, 31%)
HSVhsv(117, 60%, 44%)
CMYKcmyk(57.5%, 0%, 60.2%, 55.7%)
CIE-LABlab(42.20, -35.46, 31.09)
CIE-LCHlch(42.20, 47.16, 138.76°)
OKLaboklab(48.98% -0.0965 0.0735)
OKLCHoklch(48.98% 0.121 142.7)
XYZxyz(7.5973, 12.6275, 4.5191)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30712D #6E2D71
analogous
#52712D #30712D #2D714C
triadic
#30712D #2D3071 #712D30
tetradic
#30712D #2D5271 #6E2D71 #714C2D
square
#30712D #2D5271 #6E2D71 #714C2D
split-complementary
#30712D #4C2D71 #712D52
monochromatic
#0B190A #1D451C #30712D #439D3E #5FBE5B

Accessibility & contrast

On white

5.96
#30712D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#30712D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30712D
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30712D#FFFFFF#000000##FFFFFF
##30712D1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736726
Deuteranopia (green-blind)
#6B6132
Tritanopia (blue-blind)
#266E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #30712d;
/* rgb */ color: rgb(48, 113, 45);
/* oklch */ color: oklch(49.0% 0.121 142.7);
Tailwind
colors: {
  custom: {
    50: '#6f9a68',
    500: '#30712d',
    950: '#000000',
  },
}
SCSS
$custom: #30712d;
$custom-light: #6f9a68;
$custom-dark: #000000;
JSON
{
  "hex": "#30712d",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 45
  },
  "hsl": {
    "h": 117.353,
    "s": 43.038,
    "l": 30.98
  },
  "oklch": {
    "l": 0.48978,
    "c": 0.12136,
    "h": 142.7
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#30712D
secondary
#9F57A3
accent
#55D3CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #30712D

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

Preview Lab → · Contrast checker → · Palette generator →

#30712D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva