#30802C#30802C

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

Color values

HEX#30802C
RGBrgb(48, 128, 44)
HSLhsl(117, 49%, 34%)
HSVhsv(117, 66%, 50%)
CMYKcmyk(62.5%, 0%, 65.6%, 49.8%)
CIE-LABlab(47.30, -41.68, 37.40)
CIE-LCHlch(47.30, 56.00, 138.09°)
OKLaboklab(53.18% -0.1134 0.087)
OKLCHoklch(53.18% 0.143 142.5)
XYZxyz(9.3922, 16.2477, 5.0235)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30802C #7C2C80
analogous
#5A802C #30802C #2C8052
triadic
#30802C #2C3080 #802C30
tetradic
#30802C #2C5A80 #7C2C80 #80522C
square
#30802C #2C5A80 #7C2C80 #80522C
split-complementary
#30802C #522C80 #802C5A
monochromatic
#0E250D #1F521C #30802C #41AE3C #64C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##30802C#FFFFFF#000000##FFFFFF
##30802C1.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)
#837422
Deuteranopia (green-blind)
#796E33
Tritanopia (blue-blind)
#227C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #30802c;
/* rgb */ color: rgb(48, 128, 44);
/* oklch */ color: oklch(53.2% 0.143 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a669',
    500: '#30802c',
    950: '#000000',
  },
}
SCSS
$custom: #30802c;
$custom-light: #72a669;
$custom-dark: #000000;
JSON
{
  "hex": "#30802c",
  "rgb": {
    "r": 48,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 117.143,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53179,
    "c": 0.14294,
    "h": 142.5
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#30802C
secondary
#AA5AAE
accent
#4FD8D2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #30802C

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

Preview Lab → · Contrast checker → · Palette generator →

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