#30802B#30802B

#30802B is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.144 H 142.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#30802B
RGBrgb(48, 128, 43)
HSLhsl(116, 50%, 34%)
HSVhsv(116, 66%, 50%)
CMYKcmyk(62.5%, 0%, 66.4%, 49.8%)
CIE-LABlab(47.29, -41.79, 37.85)
CIE-LCHlch(47.29, 56.38, 137.83°)
OKLaboklab(53.17% -0.1138 0.0878)
OKLCHoklch(53.17% 0.144 142.3)
XYZxyz(9.3736, 16.2403, 4.9257)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30802B #7B2B80
analogous
#5A802B #30802B #2B8050
triadic
#30802B #2B3080 #802B30
tetradic
#30802B #2B5A80 #7B2B80 #80502B
square
#30802B #2B5A80 #7B2B80 #80502B
split-complementary
#30802B #502B80 #802B5A
monochromatic
#0E240C #1F521C #30802B #41AE3A #63C95D

Accessibility & contrast

On white

4.94
#30802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#30802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #30802B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30802B#FFFFFF#000000##FFFFFF
##30802B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837421
Deuteranopia (green-blind)
#796E32
Tritanopia (blue-blind)
#227C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30802b;
/* rgb */ color: rgb(48, 128, 43);
/* oklch */ color: oklch(53.2% 0.144 142.3);
Tailwind
colors: {
  custom: {
    50: '#72a668',
    500: '#30802b',
    950: '#000000',
  },
}
SCSS
$custom: #30802b;
$custom-light: #72a668;
$custom-dark: #000000;
JSON
{
  "hex": "#30802b",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 116.471,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53168,
    "c": 0.14374,
    "h": 142.3
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#30802B
secondary
#A958AE
accent
#4FD9D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #30802B

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

Preview Lab → · Contrast checker → · Palette generator →

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