#30842D#30842D

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

Color values

HEX#30842D
RGBrgb(48, 132, 45)
HSLhsl(118, 49%, 35%)
HSVhsv(118, 66%, 52%)
CMYKcmyk(63.6%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.66, -43.11, 38.45)
CIE-LCHlch(48.66, 57.77, 138.27°)
OKLaboklab(54.31% -0.1173 0.0893)
OKLCHoklch(54.31% 0.147 142.7)
XYZxyz(9.9433, 17.3194, 5.3011)
Luminance0.1732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30842D #812D84
analogous
#5C842D #30842D #2D8456
triadic
#30842D #2D3084 #842D30
tetradic
#30842D #2D5C84 #812D84 #84562D
square
#30842D #2D5C84 #812D84 #84562D
split-complementary
#30842D #562D84 #842D5C
monochromatic
#0F290E #1F561D #30842D #41B23D #66C962

Accessibility & contrast

On white

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

On black

4.46
#30842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##30842D#FFFFFF#000000##FFFFFF
##30842D1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30842d;
/* rgb */ color: rgb(48, 132, 45);
/* oklch */ color: oklch(54.3% 0.147 142.7);
Tailwind
colors: {
  custom: {
    50: '#73a96a',
    500: '#30842d',
    950: '#000000',
  },
}
SCSS
$custom: #30842d;
$custom-light: #73a96a;
$custom-dark: #000000;
JSON
{
  "hex": "#30842d",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 117.931,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54307,
    "c": 0.14741,
    "h": 142.7
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#30842D
secondary
#AD5DB0
accent
#4FD9D4
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #30842D

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

Preview Lab → · Contrast checker → · Palette generator →

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