#30842E#30842E

#30842E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.147 H 142.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#30842E
RGBrgb(48, 132, 46)
HSLhsl(119, 48%, 35%)
HSVhsv(119, 65%, 52%)
CMYKcmyk(63.6%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.67, -43.00, 38.00)
CIE-LCHlch(48.67, 57.39, 138.53°)
OKLaboklab(54.32% -0.1169 0.0885)
OKLCHoklch(54.32% 0.147 142.9)
XYZxyz(9.9628, 17.3272, 5.4037)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30842E #822E84
analogous
#5B842E #30842E #2E8457
triadic
#30842E #2E3084 #842E30
tetradic
#30842E #2E5B84 #822E84 #84572E
square
#30842E #2E5B84 #822E84 #84572E
split-complementary
#30842E #572E84 #842E5B
monochromatic
#0F290E #1F571E #30842E #41B13E #66C964

Accessibility & contrast

On white

4.70
#30842E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#30842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30842E
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30842E#FFFFFF#000000##FFFFFF
##30842E1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#208072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30842e;
/* rgb */ color: rgb(48, 132, 46);
/* oklch */ color: oklch(54.3% 0.147 142.9);
Tailwind
colors: {
  custom: {
    50: '#73a96a',
    500: '#30842e',
    950: '#000000',
  },
}
SCSS
$custom: #30842e;
$custom-light: #73a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#30842e",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 118.605,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54318,
    "c": 0.14661,
    "h": 142.9
  },
  "luminance": 0.17328
}

Semantic roles & 50–950 ramp

primary
#30842E
secondary
#AE5EB0
accent
#50D8D5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30842E

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

Preview Lab → · Contrast checker → · Palette generator →

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