#30852A#30852A

#30852A is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.6% C 0.151 H 142.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#30852A
RGBrgb(48, 133, 42)
HSLhsl(116, 52%, 34%)
HSVhsv(116, 68%, 52%)
CMYKcmyk(63.9%, 0%, 68.4%, 47.8%)
CIE-LABlab(48.97, -43.81, 40.14)
CIE-LCHlch(48.97, 59.42, 137.50°)
OKLaboklab(54.55% -0.1193 0.0926)
OKLCHoklch(54.55% 0.151 142.2)
XYZxyz(10.0238, 17.5696, 5.0531)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30852A #7F2A85
analogous
#5E852A #30852A #2A8552
triadic
#30852A #2A3085 #852A30
tetradic
#30852A #2A5E85 #7F2A85 #85522A
square
#30852A #2A5E85 #7F2A85 #85522A
split-complementary
#30852A #522A85 #852A5E
monochromatic
#0E280D #1F561B #30852A #41B439 #65CC5D

Accessibility & contrast

On white

4.65
#30852A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#30852A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #30852A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30852A#FFFFFF#000000##FFFFFF
##30852A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#218172
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #30852a;
/* rgb */ color: rgb(48, 133, 42);
/* oklch */ color: oklch(54.6% 0.151 142.2);
Tailwind
colors: {
  custom: {
    50: '#73a968',
    500: '#30852a',
    950: '#000000',
  },
}
SCSS
$custom: #30852a;
$custom-light: #73a968;
$custom-dark: #000000;
JSON
{
  "hex": "#30852a",
  "rgb": {
    "r": 48,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 116.044,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54554,
    "c": 0.15102,
    "h": 142.2
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#30852A
secondary
#AC59B2
accent
#4CDBD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #30852A

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

Preview Lab → · Contrast checker → · Palette generator →

#30852A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva