#30802D#30802D

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

Color values

HEX#30802D
RGBrgb(48, 128, 45)
HSLhsl(118, 48%, 34%)
HSVhsv(118, 65%, 50%)
CMYKcmyk(62.5%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.31, -41.56, 36.95)
CIE-LCHlch(47.31, 55.61, 138.37°)
OKLaboklab(53.19% -0.1131 0.0861)
OKLCHoklch(53.19% 0.142 142.7)
XYZxyz(9.4112, 16.2553, 5.1237)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30802D #7D2D80
analogous
#5A802D #30802D #2D8054
triadic
#30802D #2D3080 #802D30
tetradic
#30802D #2D5A80 #7D2D80 #80542D
square
#30802D #2D5A80 #7D2D80 #80542D
split-complementary
#30802D #542D80 #802D5A
monochromatic
#0E250D #1F531D #30802D #41AD3D #64C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30802D#FFFFFF#000000##FFFFFF
##30802D1.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)
#837423
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#227C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30802d;
/* rgb */ color: rgb(48, 128, 45);
/* oklch */ color: oklch(53.2% 0.142 142.7);
Tailwind
colors: {
  custom: {
    50: '#72a669',
    500: '#30802d',
    950: '#000000',
  },
}
SCSS
$custom: #30802d;
$custom-light: #72a669;
$custom-dark: #000000;
JSON
{
  "hex": "#30802d",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 117.831,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53191,
    "c": 0.14212,
    "h": 142.7
  },
  "luminance": 0.16256
}

Semantic roles & 50–950 ramp

primary
#30802D
secondary
#AB5BAE
accent
#50D8D3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #30802D

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

Preview Lab → · Contrast checker → · Palette generator →

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