#30842B#30842B

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

Color values

HEX#30842B
RGBrgb(48, 132, 43)
HSLhsl(117, 51%, 34%)
HSVhsv(117, 67%, 52%)
CMYKcmyk(63.6%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.64, -43.33, 39.34)
CIE-LCHlch(48.64, 58.52, 137.76°)
OKLaboklab(54.29% -0.118 0.091)
OKLCHoklch(54.29% 0.149 142.4)
XYZxyz(9.9057, 17.3044, 5.1031)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30842B #7F2B84
analogous
#5D842B #30842B #2B8453
triadic
#30842B #2B3084 #842B30
tetradic
#30842B #2B5D84 #7F2B84 #84532B
square
#30842B #2B5D84 #7F2B84 #84532B
split-complementary
#30842B #532B84 #842B5D
monochromatic
#0E280D #1F561C #30842B #41B23A #65CB5F

Accessibility & contrast

On white

4.71
#30842B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #30842B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30842B#FFFFFF#000000##FFFFFF
##30842B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877820
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#218072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30842b;
/* rgb */ color: rgb(48, 132, 43);
/* oklch */ color: oklch(54.3% 0.149 142.4);
Tailwind
colors: {
  custom: {
    50: '#73a969',
    500: '#30842b',
    950: '#000000',
  },
}
SCSS
$custom: #30842b;
$custom-light: #73a969;
$custom-dark: #000000;
JSON
{
  "hex": "#30842b",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 116.629,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.14897,
    "h": 142.4
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#30842B
secondary
#AC5AB1
accent
#4DDAD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #30842B

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

Preview Lab → · Contrast checker → · Palette generator →

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