#30712E#30712E

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

Color values

HEX#30712E
RGBrgb(48, 113, 46)
HSLhsl(118, 42%, 31%)
HSVhsv(118, 59%, 44%)
CMYKcmyk(57.5%, 0%, 59.3%, 55.7%)
CIE-LABlab(42.21, -35.33, 30.59)
CIE-LCHlch(42.21, 46.74, 139.11°)
OKLaboklab(48.99% -0.0961 0.0726)
OKLCHoklch(48.99% 0.12 143)
XYZxyz(7.6168, 12.6352, 4.6217)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30712E #6F2E71
analogous
#51712E #30712E #2E714D
triadic
#30712E #2E3071 #712E30
tetradic
#30712E #2E5171 #6F2E71 #714D2E
square
#30712E #2E5171 #6F2E71 #714D2E
split-complementary
#30712E #4D2E71 #712E51
monochromatic
#0B1A0B #1E461C #30712E #429C40 #5FBD5D

Accessibility & contrast

On white

5.95
#30712E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30712E
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30712E#FFFFFF#000000##FFFFFF
##30712E1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30712e;
/* rgb */ color: rgb(48, 113, 46);
/* oklch */ color: oklch(49.0% 0.120 143.0);
Tailwind
colors: {
  custom: {
    50: '#6f9a69',
    500: '#30712e',
    950: '#000000',
  },
}
SCSS
$custom: #30712e;
$custom-light: #6f9a69;
$custom-dark: #000000;
JSON
{
  "hex": "#30712e",
  "rgb": {
    "r": 48,
    "g": 113,
    "b": 46
  },
  "hsl": {
    "h": 118.209,
    "s": 42.138,
    "l": 31.176
  },
  "oklch": {
    "l": 0.48991,
    "c": 0.12043,
    "h": 143
  },
  "luminance": 0.12636
}

Semantic roles & 50–950 ramp

primary
#30712E
secondary
#A058A2
accent
#56D2CE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #30712E

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

Preview Lab → · Contrast checker → · Palette generator →

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