#30742A#30742A

#30742A is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.128 H 142.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#30742A
RGBrgb(48, 116, 42)
HSLhsl(115, 47%, 31%)
HSVhsv(115, 64%, 45%)
CMYKcmyk(58.6%, 0%, 63.8%, 54.5%)
CIE-LABlab(43.19, -37.09, 33.74)
CIE-LCHlch(43.19, 50.14, 137.71°)
OKLaboklab(49.79% -0.1011 0.079)
OKLCHoklch(49.79% 0.128 142)
XYZxyz(7.8818, 13.2857, 4.3391)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30742A #6E2A74
analogous
#55742A #30742A #2A7449
triadic
#30742A #2A3074 #742A30
tetradic
#30742A #2A5574 #6E2A74 #74492A
square
#30742A #2A5574 #6E2A74 #74492A
split-complementary
#30742A #492A74 #742A55
monochromatic
#0B1A09 #1D471A #30742A #43A13A #5FC256

Accessibility & contrast

On white

5.74
#30742A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#30742A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30742A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30742A#FFFFFF#000000##FFFFFF
##30742A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A22
Deuteranopia (green-blind)
#6E6430
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #30742a;
/* rgb */ color: rgb(48, 116, 42);
/* oklch */ color: oklch(49.8% 0.128 142.0);
Tailwind
colors: {
  custom: {
    50: '#709d66',
    500: '#30742a',
    950: '#000000',
  },
}
SCSS
$custom: #30742a;
$custom-light: #709d66;
$custom-dark: #000000;
JSON
{
  "hex": "#30742a",
  "rgb": {
    "r": 48,
    "g": 116,
    "b": 42
  },
  "hsl": {
    "h": 115.135,
    "s": 46.835,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.12829,
    "h": 142
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#30742A
secondary
#9F54A6
accent
#51D6CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #30742A

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

Preview Lab → · Contrast checker → · Palette generator →

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