#30942A#30942A

#30942A is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.170 H 142.3°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#30942A
RGBrgb(48, 148, 42)
HSLhsl(117, 56%, 37%)
HSVhsv(117, 72%, 58%)
CMYKcmyk(67.6%, 0%, 71.6%, 42%)
CIE-LABlab(54.00, -49.32, 45.49)
CIE-LCHlch(54.00, 67.10, 137.31°)
OKLaboklab(58.72% -0.1343 0.1038)
OKLCHoklch(58.72% 0.17 142.3)
XYZxyz(12.2261, 21.9741, 5.7872)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30942A #8E2A94
analogous
#65942A #30942A #2A9459
triadic
#30942A #2A3094 #942A30
tetradic
#30942A #2A6594 #8E2A94 #94592A
square
#30942A #2A6594 #8E2A94 #94592A
split-complementary
#30942A #592A94 #942A65
monochromatic
#11350F #21641C #30942A #3FC438 #6BD365

Accessibility & contrast

On white

3.89
#30942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#30942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30942A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30942A#FFFFFF#000000##000000
##30942A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978619
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#1A8F7F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #30942a;
/* rgb */ color: rgb(48, 148, 42);
/* oklch */ color: oklch(58.7% 0.170 142.3);
Tailwind
colors: {
  custom: {
    50: '#76b46a',
    500: '#30942a',
    950: '#000000',
  },
}
SCSS
$custom: #30942a;
$custom-light: #76b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#30942a",
  "rgb": {
    "r": 48,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 116.604,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.16971,
    "h": 142.3
  },
  "luminance": 0.21975
}

Semantic roles & 50–950 ramp

primary
#30942A
secondary
#B460B9
accent
#49DFD7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #30942A

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

Preview Lab → · Contrast checker → · Palette generator →

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