#30875A#30875A

#30875A is a mid, moderate green. Relative luminance 0.187; OKLCH L 55.9% C 0.109 H 157.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#30875A
RGBrgb(48, 135, 90)
HSLhsl(149, 48%, 36%)
HSVhsv(149, 64%, 53%)
CMYKcmyk(64.4%, 0%, 33.3%, 47.1%)
CIE-LABlab(50.33, -36.97, 16.74)
CIE-LCHlch(50.33, 40.58, 155.64°)
OKLaboklab(55.9% -0.1006 0.0423)
OKLCHoklch(55.9% 0.109 157.2)
XYZxyz(11.7273, 18.6933, 12.6610)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30875A #87305D
analogous
#318730 #30875A #308785
triadic
#30875A #5A3087 #875A30
tetradic
#30875A #303187 #87305D #878530
square
#30875A #303187 #87305D #878530
split-complementary
#30875A #853087 #873031
monochromatic
#102D1E #205A3C #30875A #40B478 #68C997

Accessibility & contrast

On white

4.43
#30875A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#30875A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30875A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30875A#FFFFFF#000000##000000
##30875A1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D57
Deuteranopia (green-blind)
#7A745D
Tritanopia (blue-blind)
#01867B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #30875a;
/* rgb */ color: rgb(48, 135, 90);
/* oklch */ color: oklch(55.9% 0.109 157.2);
Tailwind
colors: {
  custom: {
    50: '#72ab89',
    500: '#30875a',
    950: '#000000',
  },
}
SCSS
$custom: #30875a;
$custom-light: #72ab89;
$custom-dark: #000000;
JSON
{
  "hex": "#30875a",
  "rgb": {
    "r": 48,
    "g": 135,
    "b": 90
  },
  "hsl": {
    "h": 148.966,
    "s": 47.541,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55896,
    "c": 0.1091,
    "h": 157.2
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#30875A
secondary
#B1628B
accent
#5196D7
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #30875A

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

Preview Lab → · Contrast checker → · Palette generator →

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